HBASE-14003 work around JDK-8044053
This commit is contained in:
parent
42d5ef017d
commit
85c278a6a8
|
@ -307,7 +307,8 @@ public final class WALPerformanceEvaluation extends Configured implements Tool {
|
||||||
LOG.info("FileSystem: " + fs);
|
LOG.info("FileSystem: " + fs);
|
||||||
|
|
||||||
SpanReceiverHost receiverHost = trace ? SpanReceiverHost.getInstance(getConf()) : null;
|
SpanReceiverHost receiverHost = trace ? SpanReceiverHost.getInstance(getConf()) : null;
|
||||||
TraceScope scope = Trace.startSpan("WALPerfEval", trace ? Sampler.ALWAYS : Sampler.NEVER);
|
final Sampler<?> sampler = trace ? Sampler.ALWAYS : Sampler.NEVER;
|
||||||
|
TraceScope scope = Trace.startSpan("WALPerfEval", sampler);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (rootRegionDir == null) {
|
if (rootRegionDir == null) {
|
||||||
|
|
Loading…
Reference in New Issue