From 8a3f21cb08a155384f805f930f0d3ac855d7c85d Mon Sep 17 00:00:00 2001 From: Brandon Li Date: Thu, 7 Aug 2014 22:50:41 +0000 Subject: [PATCH] HADOOP-10929. Merging change r1616616 from trunk git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1616618 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ .../src/main/java/org/apache/hadoop/conf/Configuration.java | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 8757ae80022..8837068dc31 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -113,6 +113,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 c98537da4fd..56a356dd012 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 @@ -1775,7 +1775,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); @@ -1791,7 +1791,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 {