[
https://issues.apache.org/jira/browse/HADOOP-11545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brahma Reddy Battula updated HADOOP-11545:
------------------------------------------
Attachment: HADOOP-11545-005.patch
> ArrayIndexOutOfBoundsException is thrown with hadoop credential list -provider
> ------------------------------------------------------------------------------
>
> Key: HADOOP-11545
> URL: https://issues.apache.org/jira/browse/HADOOP-11545
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.6.0
> Reporter: Brahma Reddy Battula
> Assignee: Brahma Reddy Battula
> Attachments: HADOOP-11545-002.patch, HADOOP-11545-003.patch,
> HADOOP-11545-004.patch, HADOOP-11545-005.patch, HDFS-11545-001.patch
>
>
> Scenario:
> ========
> Please run the following command . dn't give the provider path.
> {noformat}
> [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)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)