Browse Source

HDFS-12290. Block Storage: Change dfs.cblock.jscsi.server.address default bind address to 0.0.0.0. Contributed by Mukul Kumar Singh.

Chen Liang 8 years ago
parent
commit
f9bce29dcc

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/cblock/CBlockConfigKeys.java

@@ -132,7 +132,7 @@ public final class CBlockConfigKeys {
   public static final String DFS_CBLOCK_JSCSI_SERVER_ADDRESS_KEY =
       "dfs.cblock.jscsi.server.address";
   public static final String DFS_CBLOCK_JSCSI_SERVER_ADDRESS_DEFAULT =
-      "127.0.0.1";
+      "0.0.0.0";
   public static final String DFS_CBLOCK_JSCSI_CBLOCK_SERVER_ADDRESS_KEY =
       "dfs.cblock.jscsi.cblock.server.address";
   public static final String DFS_CBLOCK_JSCSI_CBLOCK_SERVER_ADDRESS_DEFAULT =

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/ozone-default.xml

@@ -788,7 +788,7 @@
 
   <property>
     <name>dfs.cblock.jscsi.server.address</name>
-    <value>127.0.0.1</value>
+    <value>0.0.0.0</value>
     <description>
       The address that jscsi server will be running, should have one
       local jscsi server for each client that tries to mount cblock.