Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2641

Decommission nodes on -refreshNodes instead of next NM-RM heartbeat

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.7.0
    • resourcemanager
    • None
    • Reviewed

    Description

      improve node decommission latency in RM.
      Currently the node decommission only happened after RM received nodeHeartbeat from the Node Manager. The node heartbeat interval is configurable. The default value is 1 second.
      It will be better to do the decommission during RM Refresh(NodesListManager) instead of nodeHeartbeat(ResourceTrackerService).
      This will be a much more serious issue:
      After RM is refreshed (refreshNodes), If the NM to be decommissioned is killed before NM sent heartbeat to RM. The RMNode will never be decommissioned in RM. The RMNode will only expire in RM after "yarn.nm.liveness-monitor.expiry-interval-ms"(default value 10 minutes) time.

      Attachments

        1. YARN-2641.000.patch
          9 kB
          Zhihai Xu
        2. YARN-2641.001.patch
          13 kB
          Zhihai Xu
        3. YARN-2641.002.patch
          14 kB
          Zhihai Xu
        4. YARN-2641.003.patch
          9 kB
          Zhihai Xu

        Activity

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

          People

            zxu Zhihai Xu
            zxu Zhihai Xu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment