hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szets...@apache.org
Subject svn commit: r931325 - in /hadoop/hdfs/trunk: CHANGES.txt src/java/org/apache/hadoop/hdfs/HsftpFileSystem.java
Date Tue, 06 Apr 2010 20:55:29 GMT
Author: szetszwo
Date: Tue Apr  6 20:55:28 2010
New Revision: 931325

URL: http://svn.apache.org/viewvc?rev=931325&view=rev
Log:
HDFS-482. Move HsftpFileSystem's ssl.client.do.not.authenticate.server configuration setting
to ssl-client.xml.  Contributed by Srikanth Sundarrajan

Modified:
    hadoop/hdfs/trunk/CHANGES.txt
    hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/HsftpFileSystem.java

Modified: hadoop/hdfs/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/CHANGES.txt?rev=931325&r1=931324&r2=931325&view=diff
==============================================================================
--- hadoop/hdfs/trunk/CHANGES.txt (original)
+++ hadoop/hdfs/trunk/CHANGES.txt Tue Apr  6 20:55:28 2010
@@ -233,6 +233,10 @@ Trunk (unreleased changes)
     HDFS-481. hdfsproxy: Bug Fixes + HdfsProxy to use proxy user to
     impresonate the real user.  (Srikanth Sundarrajan via szetszwo)
 
+    HDFS-482. Move HsftpFileSystem's ssl.client.do.not.authenticate.server
+    configuration setting to ssl-client.xml.  (Srikanth Sundarrajan via
+    szetszwo)
+
 Release 0.21.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/HsftpFileSystem.java
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/HsftpFileSystem.java?rev=931325&r1=931324&r2=931325&view=diff
==============================================================================
--- hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/HsftpFileSystem.java (original)
+++ hadoop/hdfs/trunk/src/java/org/apache/hadoop/hdfs/HsftpFileSystem.java Tue Apr  6 20:55:28
2010
@@ -90,7 +90,7 @@ public class HsftpFileSystem extends Hft
         fis = null;
       }
       // initialize default trust manager with truststore file and pass
-      if (conf.getBoolean("ssl.client.do.not.authenticate.server", false)) {
+      if (sslConf.getBoolean("ssl.client.do.not.authenticate.server", false)) {
         // by pass trustmanager validation
         tms = new DummyTrustManager[] { new DummyTrustManager() };
       } else {



Mime
View raw message