Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3720

dfsadmin -refreshNodes should re-read the config file.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.19.0
    • Fix Version/s: 0.19.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      hadoop dfsadmin -refreshNodes reads files defined by dfs.hosts and dfs.hosts.exclude. If these values are not defined during namenode startup, then refreshNodes command assumes there are no files. So, while namenode is running, once cannot just edit the config file and add entries to these config variables and expect the namenode to read them. Namenode should re-read the config file for these variables (dfs.hosts and dfs.hosts.exclude) when refreshNodes command is invoked.

        Attachments

        1. HADOOP-3720-4.patch
          8 kB
          Lohit Vijaya Renu
        2. HADOOP-3720-3.patch
          5 kB
          Lohit Vijaya Renu
        3. HADOOP-3720-2.patch
          4 kB
          Lohit Vijaya Renu
        4. HADOOP-3720-1.patch
          2 kB
          Lohit Vijaya Renu

          Activity

            People

            • Assignee:
              lohit Lohit Vijaya Renu
              Reporter:
              lohit Lohit Vijaya Renu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: