hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-9246) NPE when executing a command yarn node -status or -states without additional arguments
Date Thu, 31 Jan 2019 22:02:00 GMT

    [ https://issues.apache.org/jira/browse/YARN-9246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16757756#comment-16757756
] 

Hadoop QA commented on YARN-9246:
---------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 22s{color} | {color:blue}
Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  0s{color} |
{color:green} The patch does not contain any @author tags. {color} |
| {color:red}-1{color} | {color:red} test4tests {color} | {color:red}  0m  0s{color} | {color:red}
The patch doesn't appear to include any new or modified tests. Please justify why no new tests
are needed for this patch. Also please list what manual steps were performed to verify this
patch. {color} |
|| || || || {color:brown} trunk Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 20m 50s{color}
| {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 29s{color} |
{color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 19s{color}
| {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  0m 31s{color} |
{color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 13m 49s{color}
| {color:green} branch has no errors when building and testing our client artifacts. {color}
|
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  0m 43s{color} |
{color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 21s{color} |
{color:green} trunk passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  0m 34s{color}
| {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 26s{color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  0m 26s{color} | {color:green}
the patch passed {color} |
| {color:orange}-0{color} | {color:orange} checkstyle {color} | {color:orange}  0m 16s{color}
| {color:orange} hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client: The patch generated 1
new + 6 unchanged - 0 fixed = 7 total (was 6) {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  0m 31s{color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m  0s{color}
| {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 14m 43s{color}
| {color:green} patch has no errors when building and testing our client artifacts. {color}
|
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  0m 45s{color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 19s{color} |
{color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} unit {color} | {color:green} 25m 42s{color} | {color:green}
hadoop-yarn-client in the patch passed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 25s{color}
| {color:green} The patch does not generate ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 81m 22s{color} | {color:black}
{color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:8f97d6f |
| JIRA Issue | YARN-9246 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12957168/YARN-9246.001.patch
|
| Optional Tests |  dupname  asflicense  compile  javac  javadoc  mvninstall  mvnsite  unit
 shadedclient  findbugs  checkstyle  |
| uname | Linux fe1237335c0f 4.4.0-138-generic #164~14.04.1-Ubuntu SMP Fri Oct 5 08:56:16
UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /testptch/patchprocess/precommit/personality/provided.sh |
| git revision | trunk / f738b39 |
| maven | version: Apache Maven 3.3.9 |
| Default Java | 1.8.0_191 |
| findbugs | v3.1.0-RC1 |
| checkstyle | https://builds.apache.org/job/PreCommit-YARN-Build/23248/artifact/out/diff-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt
|
|  Test Results | https://builds.apache.org/job/PreCommit-YARN-Build/23248/testReport/ |
| Max. process+thread count | 682 (vs. ulimit of 10000) |
| modules | C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client
|
| Console output | https://builds.apache.org/job/PreCommit-YARN-Build/23248/console |
| Powered by | Apache Yetus 0.8.0   http://yetus.apache.org |


This message was automatically generated.



> NPE when executing a command yarn node -status or -states without additional arguments
> --------------------------------------------------------------------------------------
>
>                 Key: YARN-9246
>                 URL: https://issues.apache.org/jira/browse/YARN-9246
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: client
>            Reporter: Masahiro Tanaka
>            Assignee: Masahiro Tanaka
>            Priority: Minor
>         Attachments: YARN-9246.001.patch
>
>
> yarn node command should not print NPE even if there are some missing arguments.
> {code}
> ubuntu@ip-172-31-0-78:~/hadoop-3.3.0-SNAPSHOT$ ./bin/yarn node -states
> Missing argument for options
> usage: node
>  -all Works with -list to list all nodes.
>  -help Displays help for all commands.
>  -list List all running nodes. Supports optional use of
>  -states to filter nodes based on node state, all -all
>  to list all nodes, -showDetails to display more
>  details about each node.
>  -showDetails Works with -list to show more details about each node.
>  -states <States> Works with -list to filter nodes based on input
>  comma-separated list of node states. The valid node
>  state can be one of the following:
>  NEW,RUNNING,UNHEALTHY,DECOMMISSIONED,LOST,REBOOTED,DEC
>  OMMISSIONING,SHUTDOWN.
>  -status <NodeId> Prints the status report of the node.
> 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.NodeCLI.main(NodeCLI.java:63)
> ubuntu@ip-172-31-0-78:~/hadoop-3.3.0-SNAPSHOT$ ./bin/yarn node -status
> Missing argument for options
> usage: node
>  -all Works with -list to list all nodes.
>  -help Displays help for all commands.
>  -list List all running nodes. Supports optional use of
>  -states to filter nodes based on node state, all -all
>  to list all nodes, -showDetails to display more
>  details about each node.
>  -showDetails Works with -list to show more details about each node.
>  -states <States> Works with -list to filter nodes based on input
>  comma-separated list of node states. The valid node
>  state can be one of the following:
>  NEW,RUNNING,UNHEALTHY,DECOMMISSIONED,LOST,REBOOTED,DEC
>  OMMISSIONING,SHUTDOWN.
>  -status <NodeId> Prints the status report of the node.
> 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.NodeCLI.main(NodeCLI.java:63)
> ubuntu@ip-172-31-0-78:~/hadoop-3.3.0-SNAPSHOT$
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message