diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index fb2741e049e..5b877e6078f 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -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 diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java index 31c40f60f30..ea15e81639f 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java @@ -1781,7 +1781,7 @@ public class Configuration implements Iterable>, 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>, * @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 {