Open estkae opened 8 years ago
I post it tot Github I use Accumulo 1.7.0, Rester 2.6.0, Java 1.7.latest, linux Ubuntu 14.04
I think the problem ist with faktoryGraph Methode
Huh... Looks like something happened to the provided tag on the Accumulo in the POM.
I changed it to 1.7.0 and was able to run the tests so it should work once that changes.
If you want to fix it on your end you can pull the code, change the dependencies in the POM
<dependency>
<groupId>org.apache.accumulo</groupId>
<artifactId>accumulo-core</artifactId>
<version>1.5.1</version>
</dependency>
<dependency>
<groupId>org.apache.accumulo</groupId>
<artifactId>accumulo-minicluster</artifactId>
<version>1.5.0</version>
</dependency>
to
<dependency>
<groupId>org.apache.accumulo</groupId>
<artifactId>accumulo-core</artifactId>
<version>1.7.0</version>
</dependency>
<dependency>
<groupId>org.apache.accumulo</groupId>
<artifactId>accumulo-minicluster</artifactId>
<version>1.7.0</version>
</dependency>
and run "mvn package"
thanks for help but Rexster has the same issue: echo $REXSTER_HOME is set to /user/local/rexster-server/ cp blueprints-accumulo-graph-0.2.2-SNAPSHOT.jar /usr/local/rexster-server/ext/ config/rexster.xml
[WARN] GraphConfigurationContainer - Could not load graph graph. Please check the XML configuration.
[WARN] GraphConfigurationContainer - GraphConfiguration could not be found or otherwise instantiated: [edu.jhuapl.tinkerpop.AccumuloRexsterGraphConfiguration]. Ensure that it is in Rexster's path.
com.tinkerpop.rexster.config.GraphConfigurationException: GraphConfiguration could not be found or otherwise instantiated: [edu.jhuapl.tinkerpop.AccumuloRexsterGraphConfiguration]. Ensure that it is in Rexster's path.
at com.tinkerpop.rexster.config.GraphConfigurationContainer.getGraphFromConfiguration(GraphConfigurationContainer.java:142)
at com.tinkerpop.rexster.config.GraphConfigurationContainer.
So its missing those classes -- try "mvn -P fatjar package"
That will make a fat jar which has the dependencies pulled in.
Sorry ist the same issue: i think the Problem is in accumulo Type Distributed The same issue is in Java. If i take mock in Java it's work. But this can't use it.
Karl
Hallo,
I try to connect with Rexster to AccumuloGraph - Library. the blueprints-accumulo-graph-0.2.2-SNAPSHOT.jar is in the ex folder. If i start the Rester - Server then i have this issue: [WARN] GraphConfigurationContainer - GraphConfiguration could not be found or otherwise instantiated: [edu.jhuapl.tinkerpop.AccumuloRexsterGraphConfiguration]. Ensure that it is in Rexster's path. com.tinkerpop.rexster.config.GraphConfigurationException: GraphConfiguration could not be found or otherwise instantiated: [edu.jhuapl.tinkerpop.AccumuloRexsterGraphConfiguration]. Ensure that it is in Rexster's path. at com.tinkerpop.rexster.config.GraphConfigurationContainer.getGraphFromConfiguration(GraphConfigurationContainer.java:142) Have you an Idea? what wrong?
If i make an open with on distributed InstanceTyp then i have this Issue: java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at junit.framework.TestSuite.createTest(TestSuite.java:63) at junit.framework.TestSuite.addTestMethod(TestSuite.java:310) at junit.framework.TestSuite.addTestsFromTestCase(TestSuite.java:153) at junit.framework.TestSuite.(TestSuite.java:132)
at org.junit.internal.runners.JUnit38ClassRunner.(JUnit38ClassRunner.java:72)
at org.junit.internal.builders.JUnit3Builder.runnerForClass(JUnit3Builder.java:11)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createUnfilteredTest(JUnit4TestLoader.java:84)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:70)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:43)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:444)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: java.lang.RuntimeException: GraphFactory could not instantiate this Graph implementation [edu.jhuapl.tinkerpop.AccumuloGraph].
at com.tinkerpop.blueprints.GraphFactory.open(GraphFactory.java:50)
at edu.jhuapl.tinkerpop.AccumuloGraphTest.generateGraph(AccumuloGraphTest.java:139)
at edu.jhuapl.tinkerpop.AccumuloGraphTest.generateGraph(AccumuloGraphTest.java:107)
at edu.jhuapl.tinkerpop.AccumuloGraphTest.(AccumuloGraphTest.java:113)
... 21 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at com.tinkerpop.blueprints.GraphFactory.open(GraphFactory.java:43)
... 24 more
Caused by: java.lang.IllegalArgumentException: org.apache.accumulo.core.client.AccumuloException: Invalid method name: 'beginTableOperation'
at edu.jhuapl.tinkerpop.AccumuloGraphUtils.handleCreateAndClear(AccumuloGraphUtils.java:80)
at edu.jhuapl.tinkerpop.AccumuloGraph.(AccumuloGraph.java:89)
at edu.jhuapl.tinkerpop.AccumuloGraph.(AccumuloGraph.java:79)
... 29 more
Caused by: org.apache.accumulo.core.client.AccumuloException: Invalid method name: 'beginTableOperation'
at org.apache.accumulo.core.client.admin.TableOperationsImpl.doTableOperation(TableOperationsImpl.java:312)
at org.apache.accumulo.core.client.admin.TableOperationsImpl.doTableOperation(TableOperationsImpl.java:280)
at org.apache.accumulo.core.client.admin.TableOperationsImpl.create(TableOperationsImpl.java:208)
at org.apache.accumulo.core.client.admin.TableOperationsImpl.create(TableOperationsImpl.java:177)
at edu.jhuapl.tinkerpop.AccumuloGraphUtils.handleCreateAndClear(AccumuloGraphUtils.java:70)
... 31 more
Caused by: org.apache.thrift.TApplicationException: Invalid method name: 'beginTableOperation'
at org.apache.thrift.TApplicationException.read(TApplicationException.java:108)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:71)
at org.apache.accumulo.core.master.thrift.MasterClientService$Client.recv_beginTableOperation(MasterClientService.java:467)
at org.apache.accumulo.core.master.thrift.MasterClientService$Client.beginTableOperation(MasterClientService.java:453)
at org.apache.accumulo.core.client.admin.TableOperationsImpl.beginTableOperation(TableOperationsImpl.java:220)
at org.apache.accumulo.core.client.admin.TableOperationsImpl.doTableOperation(TableOperationsImpl.java:288)
... 35 more
if i Tage an Instanz Bock then ist work, what about the distributed Tape?
can you Help me.