From d28c2d9f556372bce2d6a6d56fefabf0ba47094f Mon Sep 17 00:00:00 2001 From: Arpit Agarwal Date: Tue, 2 Aug 2016 15:17:45 -0700 Subject: [PATCH] HDFS-9353. Code and comment mismatch in JavaKeyStoreProvider. (Andras Bokor) --- .../src/main/java/org/apache/hadoop/security/ProviderUtils.java | 2 -- 1 file changed, 2 deletions(-) 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 84ee9125114..013e56c9e69 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(); }