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

ArrayIndexOutOfBoundsException is thrown with "hadoop credential list -provider"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: security
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Scenario:
      ========
      Please run the following command . dn't give the provider path.

      [hdfs@host194 bin]$ ./hadoop credential list -provider
      java.lang.ArrayIndexOutOfBoundsException: 2
              at org.apache.hadoop.security.alias.CredentialShell.init(CredentialShell.java:117)
              at org.apache.hadoop.security.alias.CredentialShell.run(CredentialShell.java:63)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
              at org.apache.hadoop.security.alias.CredentialShell.main(CredentialShell.java:427)
      

        Attachments

        1. HDFS-11545-001.patch
          1 kB
          Brahma Reddy Battula
        2. HADOOP-11545-002.patch
          3 kB
          Brahma Reddy Battula
        3. HADOOP-11545-003.patch
          3 kB
          Brahma Reddy Battula
        4. HADOOP-11545-004.patch
          4 kB
          Brahma Reddy Battula
        5. HADOOP-11545-005.patch
          4 kB
          Brahma Reddy Battula
        6. HADOOP-11545-006.patch
          4 kB
          Brahma Reddy Battula
        7. HADOOP-11545-007.patch
          4 kB
          Brahma Reddy Battula
        8. HADOOP-11545-008.patch
          4 kB
          Brahma Reddy Battula

          Issue Links

            Activity

              People

              • Assignee:
                brahmareddy Brahma Reddy Battula
                Reporter:
                brahmareddy Brahma Reddy Battula
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: