[ 
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 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 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}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to