-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] how to use hugegraph-tools to create new graph instance #461
Comments
Currently the |
Does the java api support graph creation in current release, I intent to practice gremlin syntax for company business explore with demo dataset. |
yep, could refer this issue apache/incubator-hugegraph#1995 & PR apache/incubator-hugegraph#1065 and hope u could some doc or feedback for it~ |
close my question |
Problem Type (问题类型)
None
Before submit
Environment (环境信息)
Your Question (问题描述)
./bin/hugegraph graph-create --name=gremlin --file=conf/hugegraph.truststore
Failed to execute Was passed main parameter '--name=gremlin' but no main parameter was defined in your arg class
Type y(yes) to print exception stack[default n]?
y
com.beust.jcommander.ParameterException: Was passed main parameter '--name=gremlin' but no main parameter was defined in your arg class
at com.beust.jcommander.JCommander.initMainParameterValue(JCommander.java:936)
at com.beust.jcommander.JCommander.parseValues(JCommander.java:752)
at com.beust.jcommander.JCommander.parse(JCommander.java:340)
at com.beust.jcommander.JCommander.parseValues(JCommander.java:787)
at com.beust.jcommander.JCommander.parse(JCommander.java:340)
at com.beust.jcommander.JCommander.parse(JCommander.java:319)
at org.apache.hugegraph.cmd.HugeGraphCommand.parseCommand(HugeGraphCommand.java:486)
at org.apache.hugegraph.cmd.HugeGraphCommand.execute(HugeGraphCommand.java:405)
at org.apache.hugegraph.cmd.HugeGraphCommand.main(HugeGraphCommand.java:544)
Or run command with:
./bin/hugegraph graph-create --name gremlin --file conf/hugegraph.truststore
Failed to execute The value 'hugegraph' of option 'store' conflicts with existed graph
Type y(yes) to print exception stack[default n]?
y
class java.lang.IllegalArgumentException: The value 'hugegraph' of option 'store' conflicts with existed graph
at org.apache.hugegraph.exception.ServerException.fromResponse(ServerException.java:45)
at org.apache.hugegraph.client.RestClient.checkStatus(RestClient.java:91)
at org.apache.hugegraph.rest.AbstractRestClient.post(AbstractRestClient.java:232)
at org.apache.hugegraph.api.graphs.GraphsAPI.create(GraphsAPI.java:68)
at org.apache.hugegraph.driver.GraphsManager.createGraph(GraphsManager.java:37)
at org.apache.hugegraph.manager.GraphsManager.create(GraphsManager.java:34)
at org.apache.hugegraph.cmd.HugeGraphCommand.execute(HugeGraphCommand.java:272)
at org.apache.hugegraph.cmd.HugeGraphCommand.execute(HugeGraphCommand.java:406)
at org.apache.hugegraph.cmd.HugeGraphCommand.main(HugeGraphCommand.java:544)
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response
The text was updated successfully, but these errors were encountered: