HADOOP-17501. Fix logging typo in ShutdownHookManager. Contributed by Fengnan Li.
This commit is contained in:
parent
37d8ad7ade
commit
f61e3f5599
@ -147,14 +147,14 @@ private static void shutdownExecutor(final Configuration conf) {
|
|||||||
shutdownTimeout,
|
shutdownTimeout,
|
||||||
TIME_UNIT_DEFAULT)) {
|
TIME_UNIT_DEFAULT)) {
|
||||||
// timeout waiting for the
|
// timeout waiting for the
|
||||||
LOG.error("ShutdownHookManger shutdown forcefully after"
|
LOG.error("ShutdownHookManager shutdown forcefully after"
|
||||||
+ " {} seconds.", shutdownTimeout);
|
+ " {} seconds.", shutdownTimeout);
|
||||||
EXECUTOR.shutdownNow();
|
EXECUTOR.shutdownNow();
|
||||||
}
|
}
|
||||||
LOG.debug("ShutdownHookManger completed shutdown.");
|
LOG.debug("ShutdownHookManager completed shutdown.");
|
||||||
} catch (InterruptedException ex) {
|
} catch (InterruptedException ex) {
|
||||||
// interrupted.
|
// interrupted.
|
||||||
LOG.error("ShutdownHookManger interrupted while waiting for " +
|
LOG.error("ShutdownHookManager interrupted while waiting for " +
|
||||||
"termination.", ex);
|
"termination.", ex);
|
||||||
EXECUTOR.shutdownNow();
|
EXECUTOR.shutdownNow();
|
||||||
Thread.currentThread().interrupt();
|
Thread.currentThread().interrupt();
|
||||||
|
Loading…
Reference in New Issue
Block a user