You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2021/08/21 07:19:00 UTC

[jira] [Resolved] (YUNIKORN-799) Fix NPE in application#GetQueueName

     [ https://issues.apache.org/jira/browse/YUNIKORN-799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chia-Ping Tsai resolved YUNIKORN-799.
-------------------------------------
    Fix Version/s: 1.0.0
       Resolution: Fixed

> Fix NPE in application#GetQueueName
> -----------------------------------
>
>                 Key: YUNIKORN-799
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-799
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: core - common
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>
> the queue of application is reset to nil after application is completed. Hence, application#GetQueueName should return `QueueName` rather than `queue.QueuePath` to avoid NPE. Querying a cluster which has a completed application by REST API "/ws/v1/apps" can produce the NPE.



--
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