You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jing Zhao (JIRA)" <ji...@apache.org> on 2013/07/19 07:26:49 UTC

[jira] [Updated] (HDFS-5007) Replace hard-coded property keys with DFSConfigKeys fields

     [ https://issues.apache.org/jira/browse/HDFS-5007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jing Zhao updated HDFS-5007:
----------------------------

    Summary: Replace hard-coded property keys with DFSConfigKeys fields  (was: the property key "dfs.http.port" and "dfs.https.port" are hard corded)
    
> 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: Bug
>          Components: namenode
>    Affects Versions: 3.0.0
>            Reporter: Kousuke Saruta
>            Assignee: Kousuke Saruta
>             Fix For: 3.0.0
>
>         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