accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmil...@apache.org
Subject accumulo git commit: ACCUMULO-4365: Configured ShellServerIT tracer span min to 0
Date Tue, 02 May 2017 19:38:57 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.7 ddc6203ad -> 1061fb553


ACCUMULO-4365: Configured ShellServerIT tracer span min to 0


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/1061fb55
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/1061fb55
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/1061fb55

Branch: refs/heads/1.7
Commit: 1061fb55315fd0184ef79d9e31c3aa9b0aad7fd2
Parents: ddc6203
Author: Mike Miller <mmiller@apache.org>
Authored: Tue May 2 13:33:39 2017 -0400
Committer: Mike Miller <mmiller@apache.org>
Committed: Tue May 2 15:18:17 2017 -0400

----------------------------------------------------------------------
 test/src/test/java/org/apache/accumulo/test/ShellServerIT.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/1061fb55/test/src/test/java/org/apache/accumulo/test/ShellServerIT.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/accumulo/test/ShellServerIT.java b/test/src/test/java/org/apache/accumulo/test/ShellServerIT.java
index c0c90d6..dfa10d8 100644
--- a/test/src/test/java/org/apache/accumulo/test/ShellServerIT.java
+++ b/test/src/test/java/org/apache/accumulo/test/ShellServerIT.java
@@ -258,6 +258,10 @@ public class ShellServerIT extends SharedMiniClusterIT {
     public void configureMiniCluster(MiniAccumuloConfigImpl cfg, Configuration coreSite)
{
       // Only one tserver to avoid race conditions on ZK propagation (auths and configuration)
       cfg.setNumTservers(1);
+      // Set the min span to 0 so we will definitely get all the traces back. See ACCUMULO-4365
+      Map<String,String> siteConf = cfg.getSiteConfig();
+      siteConf.put(Property.TRACE_SPAN_RECEIVER_PREFIX.getKey() + "tracer.span.min.ms", "0");
+      cfg.setSiteConfig(siteConf);
     }
   }
 


Mime
View raw message