Class GarbageCollectorCommunicatesWithTServersIT
- java.lang.Object
-
- org.apache.accumulo.harness.AccumuloITBase
-
- org.apache.accumulo.test.functional.ConfigurableMacBase
-
- org.apache.accumulo.test.replication.GarbageCollectorCommunicatesWithTServersIT
-
public class GarbageCollectorCommunicatesWithTServersIT extends ConfigurableMacBase
ACCUMULO-3302 series of tests which ensure that a WAL is prematurely closed when a TServer may still continue to use it. Checking that no tablet references a WAL is insufficient to determine if a WAL will never be used in the future.
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.test.functional.ConfigurableMacBase
cluster, ROOT_PASSWORD
-
Fields inherited from class org.apache.accumulo.harness.AccumuloITBase
testName
-
-
Constructor Summary
Constructors Constructor Description GarbageCollectorCommunicatesWithTServersIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(MiniAccumuloConfigImpl cfg, org.apache.hadoop.conf.Configuration coreSite)
int
defaultTimeoutSeconds()
time to wait per-method before declaring a timeout, in seconds.void
testActiveWalPrecludesClosing()
void
testUnreferencedWalInTserverIsClosed()
-
Methods inherited from class org.apache.accumulo.test.functional.ConfigurableMacBase
beforeClusterStart, configureForEnvironment, configureForSsl, exec, getClientProperties, getCluster, getServerContext, setUp, tearDown
-
Methods inherited from class org.apache.accumulo.harness.AccumuloITBase
createTestDir, getSslDir, getUniqueNames, testsShouldTimeout
-
-
-
-
Method Detail
-
defaultTimeoutSeconds
public int defaultTimeoutSeconds()
Description copied from class:AccumuloITBase
time to wait per-method before declaring a timeout, in seconds.- Overrides:
defaultTimeoutSeconds
in classAccumuloITBase
-
configure
public void configure(MiniAccumuloConfigImpl cfg, org.apache.hadoop.conf.Configuration coreSite)
- Overrides:
configure
in classConfigurableMacBase
-
testActiveWalPrecludesClosing
public void testActiveWalPrecludesClosing() throws Exception
- Throws:
Exception
-
-