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:
parent
abb9fa7fc6
commit
13501053dd
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user