VGalaxies commented on issue #2228:
URL: 
https://github.com/apache/incubator-hugegraph/issues/2228#issuecomment-1581818151

   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...


-- 
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]

Reply via email to