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:
Sanford Ryza 2014-02-03 19:30:55 +00:00
parent ca72e11158
commit cb5e0787a6
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ public class SchedulerApplicationAttempt {
.transferStateFromPreviousAppSchedulingInfo(appAttempt.appSchedulingInfo);
}
public void move(Queue newQueue) {
public synchronized void move(Queue newQueue) {
QueueMetrics oldMetrics = queue.getMetrics();
QueueMetrics newMetrics = newQueue.getMetrics();
String user = getUser();