Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ public int getNumReservedContainers(
@SuppressWarnings("unchecked")
public void containerLaunchedOnNode(ContainerId containerId,
NodeId nodeId) {
writeLock.lock();
Comment thread
minni31 marked this conversation as resolved.
readLock.lock();
try {
// Inform the container
RMContainer rmContainer = getRMContainer(containerId);
Expand All @@ -660,7 +660,7 @@ public void containerLaunchedOnNode(ContainerId containerId,
rmContainer.handle(
new RMContainerEvent(containerId, RMContainerEventType.LAUNCHED));
} finally {
writeLock.unlock();
readLock.unlock();
}
}

Expand Down