Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5007

Replace hard-coded property keys with DFSConfigKeys fields

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.1.0-beta
    • None
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HDFS-5007.patch
          6 kB
          Kousuke Saruta
        2. HDFS-5007.patch
          6 kB
          Kousuke Saruta
        3. HDFS-5007.patch
          6 kB
          Kousuke Saruta

        Issue Links

          Activity

            People

              sarutak Kousuke Saruta
              sarutak Kousuke Saruta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: