YARN-11054. Alleviate LocalJobRunnerMetricName Conflicts
This commit is contained in:
parent
ebdbe7eb82
commit
7e1bcf62a8
|
@ -44,7 +44,7 @@ final class LocalJobRunnerMetrics {
|
|||
public static LocalJobRunnerMetrics create() {
|
||||
MetricsSystem ms = DefaultMetricsSystem.initialize("JobTracker");
|
||||
return ms.register("LocalJobRunnerMetrics-" +
|
||||
ThreadLocalRandom.current().nextInt(), null,
|
||||
ThreadLocalRandom.current().nextLong(), null,
|
||||
new LocalJobRunnerMetrics());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue