Class CreateInitialSplitsIT
- java.lang.Object
-
- org.apache.accumulo.harness.AccumuloITBase
-
- org.apache.accumulo.harness.AccumuloClusterHarness
-
- org.apache.accumulo.test.functional.CreateInitialSplitsIT
-
- All Implemented Interfaces:
ClusterUsers
,MiniClusterConfigurationCallback
public class CreateInitialSplitsIT 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 CreateInitialSplitsIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeClient()
void
configureMiniCluster(MiniAccumuloConfigImpl cfg, org.apache.hadoop.conf.Configuration conf)
protected int
defaultTimeoutSeconds()
time to wait per-method before declaring a timeout, in seconds.void
setupInitialSplits()
void
testCreateInitialBinarySplits()
Test that binary split data is handled property.void
testCreateInitialBinarySplitsWithEncodedSplits()
void
testCreateInitialSplits()
Create initial splits by providing splits from a Java Collection.void
testCreateInitialSplitsCopiedFromAnotherTable()
Create splits based upon splits from another table.void
testCreateInitialSplitsWithEncodedSplits()
void
testCreateTableWithNoSplits()
Verify normal table creation did not get broken.void
testMultipleOperationsFunctionality()
Write some data to multiple tablets Verify data Compact table Verify data Delete table.-
Methods inherited from class org.apache.accumulo.harness.AccumuloClusterHarness
canRunTest, cleanupTables, cleanupUsers, getAdminPrincipal, getAdminToken, getAdminUser, getClientInfo, getClientProps, getCluster, getClusterConfiguration, getClusterControl, getClusterType, getFileSystem, getKdc, getServerContext, getUsableDir, getUser, saslEnabled, setupCluster, setUpHarness, teardownCluster, tearDownHarness
-
Methods inherited from class org.apache.accumulo.harness.AccumuloITBase
createTestDir, getSslDir, getUniqueNames, testsShouldTimeout
-
-
-
-
Method Detail
-
configureMiniCluster
public void configureMiniCluster(MiniAccumuloConfigImpl cfg, org.apache.hadoop.conf.Configuration conf)
- Specified by:
configureMiniCluster
in interfaceMiniClusterConfigurationCallback
- Overrides:
configureMiniCluster
in classAccumuloClusterHarness
-
defaultTimeoutSeconds
protected int defaultTimeoutSeconds()
Description copied from class:AccumuloITBase
time to wait per-method before declaring a timeout, in seconds.- Overrides:
defaultTimeoutSeconds
in classAccumuloITBase
-
setupInitialSplits
public void setupInitialSplits()
-
closeClient
public void closeClient()
-
testCreateTableWithNoSplits
public void testCreateTableWithNoSplits() throws TableExistsException, AccumuloSecurityException, AccumuloException
Verify normal table creation did not get broken.
-
testCreateInitialSplits
public void testCreateInitialSplits() throws TableExistsException, AccumuloSecurityException, AccumuloException, TableNotFoundException
Create initial splits by providing splits from a Java Collection.
-
testCreateInitialSplitsWithEncodedSplits
public void testCreateInitialSplitsWithEncodedSplits() throws TableExistsException, AccumuloSecurityException, AccumuloException, TableNotFoundException
-
testCreateInitialBinarySplits
public void testCreateInitialBinarySplits() throws TableExistsException, AccumuloSecurityException, AccumuloException, TableNotFoundException
Test that binary split data is handled property.
-
testCreateInitialBinarySplitsWithEncodedSplits
public void testCreateInitialBinarySplitsWithEncodedSplits() throws TableExistsException, AccumuloSecurityException, AccumuloException, TableNotFoundException
-
testCreateInitialSplitsCopiedFromAnotherTable
public void testCreateInitialSplitsCopiedFromAnotherTable() throws TableExistsException, AccumuloSecurityException, AccumuloException, TableNotFoundException
Create splits based upon splits from another table.
-
testMultipleOperationsFunctionality
public void testMultipleOperationsFunctionality() throws TableExistsException, AccumuloSecurityException, AccumuloException, TableNotFoundException
Write some data to multiple tablets Verify data Compact table Verify data Delete table.
-
-