[ https://issues.apache.org/jira/browse/YARN-8678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16920329#comment-16920329 ]
Prabhu Joseph commented on YARN-8678: ------------------------------------- Thanks [~abmodi]. > 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 > Fix For: 3.3.0 > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org