diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/cblock/CBlockConfigKeys.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/cblock/CBlockConfigKeys.java index 35b8961502c..d77091f8639 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/cblock/CBlockConfigKeys.java +++ b/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 = diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/ozone-default.xml b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/ozone-default.xml index 3575d5ec0ed..c3d0a89ed8c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/ozone-default.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/ozone-default.xml @@ -788,7 +788,7 @@ dfs.cblock.jscsi.server.address - 127.0.0.1 + 0.0.0.0 The address that jscsi server will be running, should have one local jscsi server for each client that tries to mount cblock.