Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
Currently there are a few places where the address are read from config like such
String cbmIPAddress = ozoneConf.get( DFS_CBLOCK_JSCSI_CBLOCK_SERVER_ADDRESS_KEY, DFS_CBLOCK_JSCSI_CBLOCK_SERVER_ADDRESS_DEFAULT ); int cbmPort = ozoneConf.getInt( DFS_CBLOCK_JSCSI_PORT_KEY, DFS_CBLOCK_JSCSI_PORT_DEFAULT );
Similarly for jscsi address config. Maybe we should consider merge these to one single key config in form of host:port.