[ https://issues.apache.org/jira/browse/YARN-10817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17360859#comment-17360859 ]
yikf commented on YARN-10817: ----------------------------- This issue had been fixed in [YARN-9246|https://issues.apache.org/jira/browse/YARN-9246] > Avoid java.lang.NullPointerException when use yarn shell > -------------------------------------------------------- > > Key: YARN-10817 > URL: https://issues.apache.org/jira/browse/YARN-10817 > Project: Hadoop YARN > Issue Type: Bug > Components: client > Affects Versions: 3.2.1 > Reporter: yikf > Priority: Minor > Labels: pull-request-available > Fix For: 3.2.1 > > Time Spent: 0.5h > Remaining Estimate: 0h > > When we use yarn queue-status, we encounter a null pointer exception, As > follow: > Like this, and: > yarn cluster > yarn queue > yarn node > {code:java} > Missing argument for optionsMissing argument for options > usage: queue > -help Displays help for all commands. > -status <Queue Name> List queue information about given queue. > Exception in thread "main" java.lang.NullPointerException > at org.apache.hadoop.yarn.client.cli.YarnCLI.stop(YarnCLI.java:75) > at org.apache.hadoop.yarn.client.cli.QueueCLI.main(QueueCLI.java:51) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org