YARN-6287. RMCriticalThreadUncaughtExceptionHandler.rmContext should be final (Contributed by Corey Barker via Daniel Templeton)
(cherry picked from commit e0c239cdbd
)
This commit is contained in:
parent
8be80ccb72
commit
83fbb051bb
|
@ -37,7 +37,7 @@ public class RMCriticalThreadUncaughtExceptionHandler
|
||||||
implements UncaughtExceptionHandler {
|
implements UncaughtExceptionHandler {
|
||||||
private static final Log LOG = LogFactory.getLog(
|
private static final Log LOG = LogFactory.getLog(
|
||||||
RMCriticalThreadUncaughtExceptionHandler.class);
|
RMCriticalThreadUncaughtExceptionHandler.class);
|
||||||
private RMContext rmContext;
|
private final RMContext rmContext;
|
||||||
|
|
||||||
public RMCriticalThreadUncaughtExceptionHandler(RMContext rmContext) {
|
public RMCriticalThreadUncaughtExceptionHandler(RMContext rmContext) {
|
||||||
this.rmContext = rmContext;
|
this.rmContext = rmContext;
|
||||||
|
|
Loading…
Reference in New Issue