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

dfsadmin -refreshNodes should re-read the config file.

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.19.0
    • 0.19.0
    • None
    • None
    • 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-1.patch
          2 kB
          Lohit Vijaya Renu
        2. HADOOP-3720-2.patch
          4 kB
          Lohit Vijaya Renu
        3. HADOOP-3720-3.patch
          5 kB
          Lohit Vijaya Renu
        4. HADOOP-3720-4.patch
          8 kB
          Lohit Vijaya Renu

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lohit Lohit Vijaya Renu Assign to me
            lohit Lohit Vijaya Renu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment