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

NullPointerException in Hadoop Credential Check CLI Command

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Description: Hadoop's credential check throws NullPointerException when alias not found.

      hadoop credential check "fs.gs.proxy.username" -provider "jceks://file/usr/lib/hive/conf/hive.jceks" 

      Checking aliases for CredentialProvider: jceks://file/usr/lib/hive/conf/hive.jceks
      Enter alias password: 

      java.lang.NullPointerException
      at
      org.apache.hadoop.security.alias.CredentialShell$CheckCommand.execute(CredentialShell.java:369)
      at org.apache.hadoop.tools.CommandShell.run(CommandShell.java:73)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:82)
      at org.apache.hadoop.security.alias.CredentialShell.main(CredentialShell.java:529)}}

      Attachments

        Issue Links

          Activity

            People

              anikaKelhanka Anika Kelhanka
              anikaKelhanka Anika Kelhanka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: