hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bus...@apache.org
Subject hbase git commit: HBASE-14003 work around JDK-8044053
Date Wed, 01 Jul 2015 00:58:42 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.0 c343776a6 -> 63561a0cb


HBASE-14003 work around JDK-8044053


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/63561a0c
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/63561a0c
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/63561a0c

Branch: refs/heads/branch-1.0
Commit: 63561a0cbfa9210b6e223561dcb3c707b1e7f29b
Parents: c343776
Author: Sean Busbey <busbey@apache.org>
Authored: Tue Jun 30 16:21:10 2015 -0500
Committer: Sean Busbey <busbey@apache.org>
Committed: Tue Jun 30 19:57:00 2015 -0500

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/wal/WALPerformanceEvaluation.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/63561a0c/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/WALPerformanceEvaluation.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/WALPerformanceEvaluation.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/WALPerformanceEvaluation.java
index 05d5e51..4b869c3 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/WALPerformanceEvaluation.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/WALPerformanceEvaluation.java
@@ -307,7 +307,8 @@ public final class WALPerformanceEvaluation extends Configured implements
Tool {
     LOG.info("FileSystem: " + fs);
 
     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 {
       if (rootRegionDir == null) {


Mime
View raw message