You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Abhishek Modi (Jira)" <ji...@apache.org> on 2019/09/01 04:23:00 UTC

[jira] [Commented] (YARN-8678) Queue Management API - rephrase error messages

    [ https://issues.apache.org/jira/browse/YARN-8678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16920276#comment-16920276 ] 

Abhishek Modi commented on YARN-8678:
-------------------------------------

Thanks [~Prabhu Joseph] for working on it. LGTM. Will commit it.

> 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: Prabhu Joseph
>            Priority: Major
>         Attachments: YARN-8678-002.patch, YARN-8768-001.patch
>
>
> 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
(v8.3.2#803003)

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