Class RecoveryWithEmptyRFileIT
- java.lang.Object
-
- org.apache.accumulo.harness.WithTestNames
-
- org.apache.accumulo.harness.AccumuloITBase
-
- org.apache.accumulo.test.functional.ConfigurableMacBase
-
- org.apache.accumulo.test.functional.RecoveryWithEmptyRFileIT
-
public class RecoveryWithEmptyRFileIT extends ConfigurableMacBase
XXX As a part of verifying lossy recovery via inserting an empty rfile, this test deletes test table tablets. This will require write access to the backing files of the test Accumulo mini cluster. This test should read the file location from the test harness and that file should be on the local filesystem. If you want to take a paranoid approach just make sure the test user doesn't have write access to the HDFS files of any colocated live Accumulo instance or any important local filesystem files..
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.test.functional.ConfigurableMacBase
cluster, ROOT_PASSWORD
-
Fields inherited from class org.apache.accumulo.harness.AccumuloITBase
MINI_CLUSTER_ONLY, random, STANDALONE_CAPABLE_CLUSTER, SUNNY_DAY, ZOOKEEPER_TESTING_SERVER
-
-
Constructor Summary
Constructors Constructor Description RecoveryWithEmptyRFileIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(MiniAccumuloConfigImpl cfg, org.apache.hadoop.conf.Configuration hadoopCoreSite)
protected Duration
defaultTimeout()
Time to wait per-method before declaring a timeout, in seconds.void
replaceMissingRFile()
-
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, getOnlyElement, getOnlyElement, getSslDir, getUniqueNames, initJar
-
Methods inherited from class org.apache.accumulo.harness.WithTestNames
setTestName, testName
-
-
-
-
Method Detail
-
defaultTimeout
protected Duration defaultTimeout()
Description copied from class:AccumuloITBase
Time to wait per-method before declaring a timeout, in seconds.- Overrides:
defaultTimeout
in classAccumuloITBase
-
configure
public void configure(MiniAccumuloConfigImpl cfg, org.apache.hadoop.conf.Configuration hadoopCoreSite)
- Overrides:
configure
in classConfigurableMacBase
-
-