HDFS-9353. Code and comment mismatch in JavaKeyStoreProvider. (Andras Bokor)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/d28c2d9f Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/d28c2d9f Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/d28c2d9f Branch: refs/heads/YARN-2915 Commit: d28c2d9f556372bce2d6a6d56fefabf0ba47094f Parents: 954465e Author: Arpit Agarwal <a...@apache.org> Authored: Tue Aug 2 15:17:45 2016 -0700 Committer: Arpit Agarwal <a...@apache.org> Committed: Tue Aug 2 15:17:45 2016 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/hadoop/security/ProviderUtils.java | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/d28c2d9f/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ProviderUtils.java ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ProviderUtils.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ProviderUtils.java index 84ee912..013e56c 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ProviderUtils.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/ProviderUtils.java @@ -212,8 +212,6 @@ public final class ProviderUtils { public static char[] locatePassword(String envWithPass, String fileWithPass) throws IOException { char[] pass = null; - // Get the password file from the conf, if not present from the user's - // environment var if (System.getenv().containsKey(envWithPass)) { pass = System.getenv(envWithPass).toCharArray(); } --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org