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

ArrayIndexOutOfBoundsException is thrown with "hadoop credential list -provider"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • security
    • None
    • 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. HADOOP-11545-002.patch
          3 kB
          Brahma Reddy Battula
        2. HADOOP-11545-003.patch
          3 kB
          Brahma Reddy Battula
        3. HADOOP-11545-004.patch
          4 kB
          Brahma Reddy Battula
        4. HADOOP-11545-005.patch
          4 kB
          Brahma Reddy Battula
        5. HADOOP-11545-006.patch
          4 kB
          Brahma Reddy Battula
        6. HADOOP-11545-007.patch
          4 kB
          Brahma Reddy Battula
        7. HADOOP-11545-008.patch
          4 kB
          Brahma Reddy Battula
        8. HDFS-11545-001.patch
          1 kB
          Brahma Reddy Battula

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: