You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ar...@apache.org on 2016/08/02 22:19:06 UTC
[2/3] hadoop git commit: HDFS-9353. Code and comment mismatch in
JavaKeyStoreProvider. (Andras Bokor)
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/9850cf07
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/9850cf07
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/9850cf07
Branch: refs/heads/branch-2
Commit: 9850cf07faa285ef7f881e145acc7ef4caaf4861
Parents: 158dd2d
Author: Arpit Agarwal <ar...@apache.org>
Authored: Tue Aug 2 15:17:45 2016 -0700
Committer: Arpit Agarwal <ar...@apache.org>
Committed: Tue Aug 2 15:18:01 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/9850cf07/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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org