Package org.apache.accumulo.test
Class ImportExportIT
- java.lang.Object
-
- org.apache.accumulo.harness.WithTestNames
-
- org.apache.accumulo.harness.AccumuloITBase
-
- org.apache.accumulo.harness.AccumuloClusterHarness
-
- org.apache.accumulo.test.ImportExportIT
-
- All Implemented Interfaces:
ClusterUsers
,MiniClusterConfigurationCallback
public class ImportExportIT extends AccumuloClusterHarness
ImportTable didn't correctly place absolute paths in metadata. This resulted in the imported table only being usable when the actual HDFS directory for Accumulo was the same as Property.INSTANCE_DFS_DIR. If any other HDFS directory was used, any interactions with the table would fail because the relative path in the metadata table (created by the ImportTable process) would be converted to a non-existent absolute path.ACCUMULO-3215
-
-
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
MINI_CLUSTER_ONLY, random, STANDALONE_CAPABLE_CLUSTER, SUNNY_DAY, ZOOKEEPER_TESTING_SERVER
-
Fields inherited from interface org.apache.accumulo.harness.MiniClusterConfigurationCallback
NO_CALLBACK
-
-
Constructor Summary
Constructors Constructor Description ImportExportIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Duration
defaultTimeout()
Time to wait per-method before declaring a timeout, in seconds.void
testExportImportOffline()
void
testExportImportThenScan()
-
Methods inherited from class org.apache.accumulo.harness.AccumuloClusterHarness
canRunTest, cleanupTables, cleanupUsers, configureMiniCluster, getAdminPrincipal, getAdminToken, getAdminUser, getClientInfo, getClientProps, getCluster, getClusterConfiguration, getClusterControl, getClusterType, getFileSystem, getKdc, getServerContext, getUser, saslEnabled, setupCluster, setUpHarness, teardownCluster, tearDownHarness
-
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
-
testExportImportThenScan
@Test public void testExportImportThenScan() throws Exception
- Throws:
Exception
-
-