-
Notifications
You must be signed in to change notification settings - Fork 12
Description
I can log into the accumulo shell and create tables, however when running the example code, I get the following runtime exception. Any guidance would be appreciated. I am using the same credentials that I use via accumulo shell.
I think the problem is distributed Cluster Accumulo
java.lang.RuntimeException: Unable to create table securegraph_v
at org.securegraph.accumulo.AccumuloGraph.ensureTableExists(AccumuloGraph.java:107)
when running...
Map mapConfig = new HashMap();
mapConfig.put(AccumuloGraphConfiguration.USE_SERVER_SIDE_ELEMENT_VISIBILITY_ROW_FILTER, false);
mapConfig.put(AccumuloGraphConfiguration.ACCUMULO_INSTANCE_NAME, "ilocara");
mapConfig.put(AccumuloGraphConfiguration.ACCUMULO_USERNAME, "root");
mapConfig.put(AccumuloGraphConfiguration.ACCUMULO_PASSWORD, "xxxxxxx");
mapConfig.put(AccumuloGraphConfiguration.ZOOKEEPER_SERVERS, "192.168.15.44");
mapConfig.put(AccumuloGraphConfiguration.HDFS_ROOT_DIR, "hdfs://Hadoop:54310");
mapConfig.put(AccumuloGraphConfiguration.DATA_DIR, "/accumulo");
mapConfig.put(AccumuloGraphConfiguration.HDFS_USER, "hduser");
AccumuloGraphConfiguration graphConfig = new AccumuloGraphConfiguration(mapConfig);
Graph graph = AccumuloGraph.create(graphConfig);