YARN-1498 addendum to fix findbugs warning
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1564018 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ca72e11158
commit
cb5e0787a6
|
@ -432,7 +432,7 @@ public class SchedulerApplicationAttempt {
|
||||||
.transferStateFromPreviousAppSchedulingInfo(appAttempt.appSchedulingInfo);
|
.transferStateFromPreviousAppSchedulingInfo(appAttempt.appSchedulingInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void move(Queue newQueue) {
|
public synchronized void move(Queue newQueue) {
|
||||||
QueueMetrics oldMetrics = queue.getMetrics();
|
QueueMetrics oldMetrics = queue.getMetrics();
|
||||||
QueueMetrics newMetrics = newQueue.getMetrics();
|
QueueMetrics newMetrics = newQueue.getMetrics();
|
||||||
String user = getUser();
|
String user = getUser();
|
||||||
|
|
Loading…
Reference in New Issue