[
https://issues.apache.org/jira/browse/HADOOP-10927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14086093#comment-14086093
]
Hudson commented on HADOOP-10927:
---------------------------------
FAILURE: Integrated in Hadoop-Yarn-trunk #634 (See
[https://builds.apache.org/job/Hadoop-Yarn-trunk/634/])
HADOOP-10927. Fix CredentialShell help behavior and error codes. Contributed by
Josh Elser. (wang:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1615827)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/bin/hadoop
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/alias/CredentialShell.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/alias/TestCredShell.java
> Fix CredentialShell help behavior and error codes
> -------------------------------------------------
>
> Key: HADOOP-10927
> URL: https://issues.apache.org/jira/browse/HADOOP-10927
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Minor
> Fix For: 2.6.0
>
> Attachments: HADOOP-10927-1.diff, HADOOP-10927-2.diff,
> HADOOP-10927-3.patch, HADOOP-10927.diff
>
>
> {noformat}
> $ hadoop credential
> java.lang.NullPointerException
> at
> org.apache.hadoop.security.alias.CredentialShell.run(CredentialShell.java:67)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> at
> org.apache.hadoop.security.alias.CredentialShell.main(CredentialShell.java:420)
> {noformat}
> Ran a no-arg version of {{hadoop credential}} expecting to get the usage/help
> message (like other commands act), and got the above exception instead.
--
This message was sent by Atlassian JIRA
(v6.2#6252)