YARN-4644. TestRMRestart fails and findbugs issue in YARN-2928 branch (Varun Saxena via Naganarasimha G R)
This commit is contained in:
parent
9d40d9d34c
commit
06f0b50a28
@ -550,8 +550,6 @@ public NodeHeartbeatResponse nodeHeartbeat(NodeHeartbeatRequest request)
|
||||
}
|
||||
|
||||
// 4. Send status to RMNode, saving the latest response.
|
||||
List<ApplicationId> keepAliveApps =
|
||||
remoteNodeStatus.getKeepAliveApplications();
|
||||
RMNodeStatusEvent nodeStatusEvent =
|
||||
new RMNodeStatusEvent(nodeId, remoteNodeStatus, nodeHeartBeatResponse);
|
||||
if (request.getLogAggregationReportsForApps() != null
|
||||
|
@ -874,9 +874,6 @@ public void recover(RMState state) {
|
||||
this.firstAttemptIdInStateStore = appState.getFirstAttemptId();
|
||||
this.nextAttemptId = firstAttemptIdInStateStore;
|
||||
}
|
||||
|
||||
// send the ATS create Event
|
||||
sendATSCreateEvent(this, this.startTime);
|
||||
//TODO recover collector address.
|
||||
//this.collectorAddr = appState.getCollectorAddr();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user