You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Kousuke Saruta (JIRA)" <ji...@apache.org> on 2013/07/18 04:30:48 UTC

[jira] [Created] (HDFS-5007) the property key "dfs.http.port" and "dfs.https.port" are hard corded

Kousuke Saruta created HDFS-5007:
------------------------------------

             Summary: the property key "dfs.http.port" and "dfs.https.port" are hard corded
                 Key: HDFS-5007
                 URL: https://issues.apache.org/jira/browse/HDFS-5007
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
    Affects Versions: 3.0.0
            Reporter: Kousuke Saruta
             Fix For: 3.0.0


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