hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haiboc...@apache.org
Subject hadoop git commit: HADOOP-15586. Fix wrong log statement in AbstractService. (Szilard Nemeth via Haibo Chen)
Date Mon, 23 Jul 2018 18:19:11 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 9d3c39e9d -> 17e26163e


HADOOP-15586. Fix wrong log statement in AbstractService. (Szilard Nemeth via Haibo Chen)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/17e26163
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/17e26163
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/17e26163

Branch: refs/heads/trunk
Commit: 17e26163ec1b71cd13a6a82150aca94283f10ed1
Parents: 9d3c39e
Author: Haibo Chen <haibochen@apache.org>
Authored: Mon Jul 23 11:18:25 2018 -0700
Committer: Haibo Chen <haibochen@apache.org>
Committed: Mon Jul 23 11:18:25 2018 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/service/AbstractService.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/17e26163/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/AbstractService.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/AbstractService.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/AbstractService.java
index 70de647..5b96fbf4 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/AbstractService.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/AbstractService.java
@@ -254,7 +254,7 @@ public abstract class AbstractService implements Service {
    * @param exception the exception
    */
   protected final void noteFailure(Exception exception) {
-    LOG.debug("noteFailure {}" + exception);
+    LOG.debug("noteFailure", exception);
     if (exception == null) {
       //make sure failure logic doesn't itself cause problems
       return;


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message