hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject [3/3] hadoop git commit: HADOOP-11603. Metric Snapshot log can be changed #MetricsSystemImpl.java since all the services will be initialized. Contributed By Brahma Reddy Battula.
Date Thu, 24 Nov 2016 16:56:45 GMT
HADOOP-11603. Metric Snapshot log can be changed #MetricsSystemImpl.java since all the services
will be initialized. Contributed By Brahma Reddy Battula.

(cherry picked from commit 13501053dd95f41ac14091f5bbd79bcb2a3896a3)


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

Branch: refs/heads/branch-2.8
Commit: 1e25fd6b3b60ede7f5f8904ac549840aa9b52002
Parents: 01e3b0d
Author: Brahma Reddy Battula <brahma@apache.org>
Authored: Thu Nov 24 22:23:22 2016 +0530
Committer: Brahma Reddy Battula <brahma@apache.org>
Committed: Thu Nov 24 22:25:36 2016 +0530

----------------------------------------------------------------------
 .../java/org/apache/hadoop/metrics2/impl/MetricsSystemImpl.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/1e25fd6b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/impl/MetricsSystemImpl.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/impl/MetricsSystemImpl.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/impl/MetricsSystemImpl.java
index 3ce2a32..e97e948 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/impl/MetricsSystemImpl.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/impl/MetricsSystemImpl.java
@@ -33,7 +33,6 @@ import javax.management.ObjectName;
 import com.google.common.collect.Lists;
 import com.google.common.collect.Maps;
 import com.google.common.annotations.VisibleForTesting;
-import java.util.Locale;
 import static com.google.common.base.Preconditions.*;
 
 import org.apache.commons.configuration.PropertiesConfiguration;
@@ -372,7 +371,8 @@ public class MetricsSystemImpl extends MetricsSystem implements MetricsSource
{
             }
           }
         }, millis, millis);
-    LOG.info("Scheduled snapshot period at "+ (period/1000) +" second(s).");
+    LOG.info("Scheduled Metric snapshot period at " + (period / 1000)
+        + " second(s).");
   }
 
   synchronized void onTimerEvent() {


---------------------------------------------------------------------
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