liuxiaocs7 commented on issue #2228: URL: https://github.com/apache/incubator-hugegraph/issues/2228#issuecomment-1583844260
> I guess some components of the service were not initialized, so I referred to the [initialization method](https://github.com/apache/hugegraph/blob/bcf2a395cf8949c39a127facb404f75cf3842475/hugegraph-test/src/main/java/org/apache/hugegraph/tinkerpop/TestGraph.java#L79) used in `TestGraph` class and added it in the groovy script: > > ```groovy > conf = "conf/graphs/hugegraph.properties" > graph = HugeFactory.open(conf) > graph.initBackend() > System.out.println(graph.existsVertexLabel("~task")) > graph.serverStarted(IdGenerator.of("server-tinkerpop"), NodeRole.MASTER) // start server > ``` > > Now it seems to be running normally: > > ```java > \,,,/ > (o o) > -----oOOo-(3)-oOOo----- > plugin activated: HugeGraph > plugin activated: tinkerpop.server > plugin activated: tinkerpop.utilities > plugin activated: tinkerpop.tinkergraph > ERROR StatusLogger Reconfiguration failed: No configuration found for '18b4aac2' at 'null' in 'null' > main dict load finished, time elapsed 581 ms > model load finished, time elapsed 45 ms. > true > >>>> query all vertices: size=6 > >>>> query all edges: size=6 > gremlin> g > ==>graphtraversalsource[standardhugegraph[hugegraph], standard] > gremlin> > ``` > > I am analyzing how it works... It seems to work fine after this modification. ```bash >>>> query all vertices: size=6 >>>> query all edges: size=6 gremlin> g.V() ==>v[2:lop] ==>v[1:josh] ==>v[1:marko] ==>v[1:peter] ==>v[1:vadas] ==>v[2:ripple] gremlin> g.E() ==>e[S1:josh>2>>S2:lop][1:josh-created->2:lop] ==>e[S1:josh>2>>S2:ripple][1:josh-created->2:ripple] ==>e[S1:marko>1>>S1:josh][1:marko-knows->1:josh] ==>e[S1:marko>1>>S1:vadas][1:marko-knows->1:vadas] ==>e[S1:marko>2>>S2:lop][1:marko-created->2:lop] ==>e[S1:peter>2>>S2:lop][1:peter-created->2:lop] ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
