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

HDFS javadocs hard-code references to dfs.namenode.name.dir and dfs.datanode.data.dir parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.20.1
    • 0.23.0
    • test
    • Updated the JavaDocs to appropriately represent the new Configuration Keys that are used in the code. The docs did not match the code.
    • newbie

    Description

      The javadoc for MiniDFSCluster makes repeated references to setting dfs.name.dir and dfs.data.dir. These should be replaced with references to DFSConfigKeys' DFS_NAMENODE_NAME_DIR_KEY and DFS_DATANODE_DATA_DIR_KEY, respectively. The old values are deprecated in DFSConfigKeys, but we should switch to the new values where ever we can.

      Also, a quick search the code shows that TestDFSStorageStateRecovery.java and UpgradeUtilities.java should be updated as well.

      Attachments

        1. HDFS-1381-take2.txt
          12 kB
          Jim Plush
        2. HDFS-1381-take1.txt
          11 kB
          Jim Plush

        Activity

          People

            jimplush Jim Plush
            jghoman Jakob Homan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: