Class ScanIdIT
- java.lang.Object
-
- org.apache.accumulo.harness.AccumuloITBase
-
- org.apache.accumulo.harness.AccumuloClusterHarness
-
- org.apache.accumulo.test.functional.ScanIdIT
-
- All Implemented Interfaces:
ClusterUsers
,MiniClusterConfigurationCallback
public class ScanIdIT extends AccumuloClusterHarness
ACCUMULO-2641 Integration test. ACCUMULO-2641 Adds scan id to thrift protocol so thatorg.apache.accumulo.core.client.admin.ActiveScan.getScanid()
returns a unique scan id.The test uses the Minicluster and the
org.apache.accumulo.test.functional.SlowIterator
to create multiple scan sessions. The test exercises multiple tablet servers with splits and multiple ranges to force the scans to occur across multiple tablet servers for completeness.This patch modified thrift, the TraceRepoDeserializationTest test seems to fail unless the following be added:
private static final long serialVersionUID = -4659975753252858243l;
back into org.apache.accumulo.trace.thrift.TInfo until that test signature is regenerated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.harness.AccumuloClusterHarness
AccumuloClusterHarness.ClusterType
-
Nested classes/interfaces inherited from interface org.apache.accumulo.harness.MiniClusterConfigurationCallback
MiniClusterConfigurationCallback.NoCallback
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.harness.AccumuloClusterHarness
cluster, clusterConf, krb, type
-
Fields inherited from class org.apache.accumulo.harness.AccumuloITBase
testName
-
Fields inherited from interface org.apache.accumulo.harness.MiniClusterConfigurationCallback
NO_CALLBACK
-
-
Constructor Summary
Constructors Constructor Description ScanIdIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
defaultTimeoutSeconds()
time to wait per-method before declaring a timeout, in seconds.void
testScanId()
-
Methods inherited from class org.apache.accumulo.harness.AccumuloClusterHarness
canRunTest, cleanupTables, cleanupUsers, configureMiniCluster, getAdminPrincipal, getAdminToken, getAdminUser, getCluster, getClusterConfiguration, getClusterControl, getClusterType, getConnector, getFileSystem, getKdc, getUsableDir, getUser, setUp, setupCluster, teardownCluster, tearDownKdc
-
Methods inherited from class org.apache.accumulo.harness.AccumuloITBase
createTestDir, getSslDir, getUniqueNames, testsShouldTimeout
-
-
-
-
Method Detail
-
defaultTimeoutSeconds
protected int defaultTimeoutSeconds()
Description copied from class:AccumuloITBase
time to wait per-method before declaring a timeout, in seconds.- Overrides:
defaultTimeoutSeconds
in classAccumuloITBase
-
-