Chen Liang created HDFS-12041:
---------------------------------

             Summary: Block Storage : make the server address config more 
concise
                 Key: HDFS-12041
                 URL: https://issues.apache.org/jira/browse/HDFS-12041
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Chen Liang
            Priority: Minor


Currently there are a few places where the address are read from config like 
such 
{code}
    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
    );
{code}
Similarly for jscsi address config. Maybe we should consider merge these to one 
single key config in form of host:port.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to