YARN-3677. Fix findbugs warnings in yarn-server-resourcemanager. Contributed by Vinod Kumar Vavilapalli.

This commit is contained in:
Tsuyoshi Ozawa 2015-05-20 08:53:50 +09:00
parent 563eb1ad2a
commit 7401e5b5e8
3 changed files with 5 additions and 1 deletions

View File

@ -523,6 +523,9 @@ Release 2.7.1 - UNRELEASED
YARN-3601. Fix UT TestRMFailover.testRMWebAppRedirect. (Weiwei Yang via xgong) YARN-3601. Fix UT TestRMFailover.testRMWebAppRedirect. (Weiwei Yang via xgong)
YARN-3677. Fix findbugs warnings in yarn-server-resourcemanager.
(Vinod Kumar Vavilapalli via ozawa)
Release 2.7.0 - 2015-04-20 Release 2.7.0 - 2015-04-20
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -230,6 +230,7 @@ public class RMAppManager implements EventHandler<RMAppManagerEvent>,
success = true; success = true;
break; break;
default: default:
break;
} }
if (success) { if (success) {

View File

@ -100,7 +100,7 @@ public class FileSystemRMStateStore extends RMStateStore {
private Path dtSequenceNumberPath = null; private Path dtSequenceNumberPath = null;
private int fsNumRetries; private int fsNumRetries;
private long fsRetryInterval; private long fsRetryInterval;
private boolean isHDFS; private volatile boolean isHDFS;
@VisibleForTesting @VisibleForTesting
Path fsWorkingPath; Path fsWorkingPath;