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

RMNodeImpl#ReconnectNodeTransition should send scheduler events in sequential order

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

Details

    • Reviewed

    Description

      When a node is reconnected,RMNodeImpl#ReconnectNodeTransition notifies the scheduler in a events node_added,node_removed or node_resource_update. These events should be notified in an sequential order i.e node_added event and next node_resource_update events.
      But if the node is reconnected with different http port, the oder of scheduler events are node_removed --> node_resource_update --> node_added which causes scheduler does not find the node and throw NPE and RM exit.

      Node_Resource_update event should be always should be triggered via RMNodeEventType.RESOURCE_UPDATE

      Attachments

        1. 0001-YARN-3222.patch
          2 kB
          Rohith Sharma K S
        2. 0002-YARN-3222.patch
          5 kB
          Rohith Sharma K S
        3. 0003-YARN-3222.patch
          8 kB
          Rohith Sharma K S
        4. 0004-YARN-3222.patch
          7 kB
          Rohith Sharma K S
        5. 0005-YARN-3222.patch
          7 kB
          Rohith Sharma K S

        Activity

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

          People

            rohithsharma Rohith Sharma K S
            rohithsharma Rohith Sharma K S
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment