Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10927

Fix CredentialShell help behavior and error codes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.0
    • security
    • None

    Description

      $ 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)
      

      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.

      Attachments

        1. HADOOP-10927-3.patch
          6 kB
          Josh Elser
        2. HADOOP-10927-2.diff
          5 kB
          Josh Elser
        3. HADOOP-10927-1.diff
          5 kB
          Josh Elser
        4. HADOOP-10927.diff
          2 kB
          Josh Elser

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: