[
https://issues.apache.org/jira/browse/YARN-8678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prabhu Joseph updated YARN-8678:
--------------------------------
Attachment: YARN-8678-002.patch
> 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: [email protected]
For additional commands, e-mail: [email protected]