Преглед на файлове

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 години
родител
ревизия
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 =
   public static final String DFS_CBLOCK_JSCSI_SERVER_ADDRESS_KEY =
       "dfs.cblock.jscsi.server.address";
       "dfs.cblock.jscsi.server.address";
   public static final String DFS_CBLOCK_JSCSI_SERVER_ADDRESS_DEFAULT =
   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 =
   public static final String DFS_CBLOCK_JSCSI_CBLOCK_SERVER_ADDRESS_KEY =
       "dfs.cblock.jscsi.cblock.server.address";
       "dfs.cblock.jscsi.cblock.server.address";
   public static final String DFS_CBLOCK_JSCSI_CBLOCK_SERVER_ADDRESS_DEFAULT =
   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>
   <property>
     <name>dfs.cblock.jscsi.server.address</name>
     <name>dfs.cblock.jscsi.server.address</name>
-    <value>127.0.0.1</value>
+    <value>0.0.0.0</value>
     <description>
     <description>
       The address that jscsi server will be running, should have one
       The address that jscsi server will be running, should have one
       local jscsi server for each client that tries to mount cblock.
       local jscsi server for each client that tries to mount cblock.