You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2019/11/14 17:52:08 UTC
[hadoop] branch trunk updated: HADOOP-16708. HadoopExecutors
cleanup to only log at debug.
This is an automated email from the ASF dual-hosted git repository.
stevel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new a139a87 HADOOP-16708. HadoopExecutors cleanup to only log at debug.
a139a87 is described below
commit a139a8761054906accadf9ebbabcb16528325991
Author: Steve Loughran <st...@cloudera.com>
AuthorDate: Thu Nov 14 17:51:24 2019 +0000
HADOOP-16708. HadoopExecutors cleanup to only log at debug.
Contributed by David Mollitor.
Change-Id: Ib501a3ed6ed299ccd3c773c4dc086441a5728e73
---
.../java/org/apache/hadoop/util/concurrent/HadoopExecutors.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/concurrent/HadoopExecutors.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/concurrent/HadoopExecutors.java
index 7c09d93..0bbceb5 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/concurrent/HadoopExecutors.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/concurrent/HadoopExecutors.java
@@ -115,18 +115,18 @@ public final class HadoopExecutors {
try {
executorService.shutdown();
- logger.info(
+ logger.debug(
"Gracefully shutting down executor service. Waiting max {} {}",
timeout, unit);
if (!executorService.awaitTermination(timeout, unit)) {
- logger.info(
+ logger.debug(
"Executor service has not shutdown yet. Forcing. "
+ "Will wait up to an additional {} {} for shutdown",
timeout, unit);
executorService.shutdownNow();
}
if (executorService.awaitTermination(timeout, unit)) {
- logger.info("Succesfully shutdown executor service");
+ logger.debug("Succesfully shutdown executor service");
} else {
logger.error("Unable to shutdown executor service after timeout {} {}",
(2 * timeout), unit);
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org