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 "yikf (Jira)" <ji...@apache.org> on 2021/06/10 11:42:00 UTC

[jira] [Updated] (YARN-10817) Avoid java.lang.NullPointerException when use yarn shell

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

yikf updated YARN-10817:
------------------------
    Description: 
When we use yarn queue-status, we encounter a null pointer exception, As follow:
{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}

  was:
When we use yarn queue-status, we encounter a null pointer exception, As follow:
{code:java}
Missing argument for optionsMissing argument for optionsusage: 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}


> 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
>             Fix For: 3.2.1
>
>
> When we use yarn queue-status, we encounter a null pointer exception, As follow:
> {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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org