HADOOP-10929. Typo in Configuration.getPasswordFromCredentialProviders. Contributed by Larry McCay
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1616616 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eca80dca3e
commit
8b32f84e87
|
@ -545,6 +545,9 @@ Release 2.6.0 - UNRELEASED
|
|||
|
||||
HADOOP-10931 compile error on tools/hadoop-openstack (xukun via stevel)
|
||||
|
||||
HADOOP-10929. Typo in Configuration.getPasswordFromCredentialProviders
|
||||
(lmccay via brandonli)
|
||||
|
||||
Release 2.5.0 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -1781,7 +1781,7 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
|
|||
public char[] getPassword(String name) throws IOException {
|
||||
char[] pass = null;
|
||||
|
||||
pass = getPasswordFromCredenitalProviders(name);
|
||||
pass = getPasswordFromCredentialProviders(name);
|
||||
|
||||
if (pass == null) {
|
||||
pass = getPasswordFromConfig(name);
|
||||
|
@ -1797,7 +1797,7 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
|
|||
* @return password or null if not found
|
||||
* @throws IOException
|
||||
*/
|
||||
protected char[] getPasswordFromCredenitalProviders(String name)
|
||||
protected char[] getPasswordFromCredentialProviders(String name)
|
||||
throws IOException {
|
||||
char[] pass = null;
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue