HBASE-14003 work around JDK-8044053

This commit is contained in:
Sean Busbey 2015-06-30 16:21:10 -05:00
parent 42d5ef017d
commit 85c278a6a8
1 changed files with 2 additions and 1 deletions

View File

@ -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) {