[ https://issues.apache.org/jira/browse/HDFS-5007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713361#comment-13713361 ]
Kousuke Saruta commented on HDFS-5007: -------------------------------------- Jing, thank you for committing! > Replace hard-coded property keys with DFSConfigKeys fields > ---------------------------------------------------------- > > Key: HDFS-5007 > URL: https://issues.apache.org/jira/browse/HDFS-5007 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 3.0.0 > Reporter: Kousuke Saruta > Assignee: Kousuke Saruta > Priority: Minor > Fix For: 2.1.0-beta > > Attachments: HDFS-5007.patch, HDFS-5007.patch, HDFS-5007.patch > > > In "TestHftpFileSystem.java" and "NameNodeHttpServer.java" , the two property > key "dfs.http.port" and "dfs.https.port" are hard corded. > Now, the constant values "DFS_NAMENODE_HTTP_PORT_KEY" and > "DFS_NAMENODE_HTTPS_KEY" in DFSConfigKeys are available so I think we should > replace those for maintainability. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira