hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject [2/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:44 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/1edabc4a
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/1edabc4a
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/1edabc4a

Branch: refs/heads/branch-2
Commit: 1edabc4a46de2443e46355da391ff64ead183776
Parents: 89614f5
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:24:45 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/1edabc4a/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