HADOOP-11603. Metric Snapshot log can be changed #MetricsSystemImpl.java since all the services will be initialized. Contributed By Brahma Reddy Battula.

This commit is contained in:
Brahma Reddy Battula 2016-11-24 22:23:22 +05:30
parent abb9fa7fc6
commit 13501053dd

View File

@ -33,7 +33,6 @@
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.configuration2.PropertiesConfiguration;
@ -372,7 +371,8 @@ public void run() {
}
}
}, 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() {