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

This commit is contained in:
Chen Liang 2017-08-15 15:37:17 -07:00
parent bfc49a4b2d
commit 63edc5b1e5
2 changed files with 2 additions and 2 deletions

View File

@ -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 =

View File

@ -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.