repositoryUri = new URI("repo:hbase:" + zk);
}
@Test
public void testBasic() {
DatasetRepository repo = DatasetRepositories.repositoryFor(repositoryUri);
repo.delete("default", "test");
repo.create("default", "test", descriptor);
RandomAccessDataset<Object> ds = Datasets
.<Object, RandomAccessDataset<Object>>load(URI.create("dataset:hbase:" + zk + "/test"), Object.class);
Assert.assertNotNull("Should load dataset", ds);
Assert.assertTrue(ds instanceof DaoDataset);
Assert.assertEquals("Descriptors should match",
repo.load("default", "test").getDescriptor(), ds.getDescriptor());
repo.delete("default", "test");
}