Class BulkFailureIT
- java.lang.Object
-
- org.apache.accumulo.harness.AccumuloITBase
-
- org.apache.accumulo.harness.AccumuloClusterHarness
-
- org.apache.accumulo.test.functional.BulkFailureIT
-
- All Implemented Interfaces:
ClusterUsers
,MiniClusterConfigurationCallback
public class BulkFailureIT extends AccumuloClusterHarness
-
-
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 BulkFailureIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<org.apache.hadoop.fs.Path>
getFiles(Connector connector, KeyExtent extent)
Set<org.apache.hadoop.fs.Path>
getLoaded(Connector connector, KeyExtent extent)
void
testImportCompactionImport()
This test verifies two things.-
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, defaultTimeoutSeconds, getSslDir, getUniqueNames, testsShouldTimeout
-
-
-
-
Method Detail
-
testImportCompactionImport
public void testImportCompactionImport() throws Exception
This test verifies two things. First it ensures that after a bulk imported file is compacted that import request are ignored. Second it ensures that after the bulk import transaction is canceled that import request fail. The public API for bulk import can not be used for this test. Internal (non public API) RPCs and Zookeeper state is manipulated directly. This is the only way to interleave compactions with multiple, duplicate import RPC request.- Throws:
Exception
-
getLoaded
public Set<org.apache.hadoop.fs.Path> getLoaded(Connector connector, KeyExtent extent) throws TableNotFoundException
- Throws:
TableNotFoundException
-
getFiles
public Set<org.apache.hadoop.fs.Path> getFiles(Connector connector, KeyExtent extent) throws TableNotFoundException
- Throws:
TableNotFoundException
-
-