use of co.cask.cdap.data2.dataset2.lib.table.leveldb.LevelDBTableService in project cdap by caskdata.
the class LevelDBKVTableTest method init.
@BeforeClass
public static void init() throws Exception {
CConfiguration conf = CConfiguration.create();
conf.set(Constants.CFG_LOCAL_DATA_DIR, tmpFolder.newFolder().getAbsolutePath());
conf.set(Constants.CFG_DATA_LEVELDB_DIR, tmpFolder.newFolder().getAbsolutePath());
service = new LevelDBTableService();
service.setConfiguration(conf);
}
Aggregations