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

Sunil Govindan updated YARN-8678:
---------------------------------
    Issue Type: Sub-task  (was: Bug)
        Parent: YARN-5734

> Queue Management API - rephrase error messages
> ----------------------------------------------
>
>                 Key: YARN-8678
>                 URL: https://issues.apache.org/jira/browse/YARN-8678
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Akhil PB
>            Assignee: Akhil PB
>            Priority: Major
>
> 1. When stopping a running parent queue, error message thrown by API was not 
> meaningful.
> For example: When tried to stop root queue, error message thrown was  
> {{Failed to re-init queues : The parent queue:root state is STOPPED, child 
> queue:default state cannot be RUNNING.}}  
> It is evident that root queue update failed, but the message says 
> {{queue:root state is STOPPED}}.
> 2. While tried to delete a running leaf queue, error message thrown by API 
> was not meaningful.
> For example: Error message was {{Failed to re-init queues : root.default.prod 
> is deleted from the new capacity scheduler configuration, but the queue is 
> not yet in stopped state. Current State : RUNNING}}.
> Clearly deletion of queue root.default.prod failed with error, but the 
> message says {{queues : root.default.prod is deleted from the new capacity 
> scheduler configuration}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to