You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Weiwei Yang (Jira)" <ji...@apache.org> on 2021/08/22 05:07:00 UTC
[jira] [Resolved] (YUNIKORN-817) /ws/v1/nodes/utilization causes
panic if partition has no node
[ https://issues.apache.org/jira/browse/YUNIKORN-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Weiwei Yang resolved YUNIKORN-817.
----------------------------------
Fix Version/s: 1.0.0
Resolution: Fixed
> /ws/v1/nodes/utilization causes panic if partition has no node
> --------------------------------------------------------------
>
> Key: YUNIKORN-817
> URL: https://issues.apache.org/jira/browse/YUNIKORN-817
> Project: Apache YuniKorn
> Issue Type: Bug
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.0.0
>
>
> `PartitionContext#totalPartitionResource` is null if the partition has no node. We need to check null before converting it to dao object.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org