Search in sources :

Example 1 with AccumuloDataStore

use of mil.nga.giat.geowave.datastore.accumulo.AccumuloDataStore in project incubator-rya by apache.

the class GeoWaveGTQueryTest method setup.

@BeforeClass
public static void setup() throws AccumuloException, AccumuloSecurityException, IOException, InterruptedException {
    tempAccumuloDir = Files.createTempDir();
    accumulo = MiniAccumuloClusterFactory.newAccumuloCluster(new MiniAccumuloConfigImpl(tempAccumuloDir, ACCUMULO_PASSWORD), GeoWaveGTQueryTest.class);
    accumulo.start();
    dataStore = new AccumuloDataStore(new BasicAccumuloOperations(accumulo.getZooKeepers(), accumulo.getInstanceName(), ACCUMULO_USER, ACCUMULO_PASSWORD, TABLE_NAMESPACE));
    ingestCannedData();
}
Also used : BasicAccumuloOperations(mil.nga.giat.geowave.datastore.accumulo.BasicAccumuloOperations) AccumuloDataStore(mil.nga.giat.geowave.datastore.accumulo.AccumuloDataStore) MiniAccumuloConfigImpl(org.apache.accumulo.minicluster.impl.MiniAccumuloConfigImpl) BeforeClass(org.junit.BeforeClass)

Aggregations

AccumuloDataStore (mil.nga.giat.geowave.datastore.accumulo.AccumuloDataStore)1 BasicAccumuloOperations (mil.nga.giat.geowave.datastore.accumulo.BasicAccumuloOperations)1 MiniAccumuloConfigImpl (org.apache.accumulo.minicluster.impl.MiniAccumuloConfigImpl)1 BeforeClass (org.junit.BeforeClass)1