So I am using grakn core 1.5.7 on Ubuntu 18.04.
I want to use graql command.With older versions of grakn it was quite good to have a graql executable available.Here is the command i am using from inside my grakn folder.
graql console --keyspace prec --file ./schema.gql
However in newer versions on and after 1.5.7,I cannot find the same.
I had a look on the bugs section of grakn and i found this to be close but not much related issue. Following which i tried replacing graql to grakn but now i am getting this error
io.grpc.StatusRuntimeException: UNIMPLEMENTED: Method not found: session.SessionService/open
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:233)
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:214)
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:139)
at grakn.protocol.session.SessionServiceGrpc$SessionServiceBlockingStub.open(SessionServiceGrpc.java:273)
at grakn.client.GraknClient$Session.<init>(GraknClient.java:165)
at grakn.client.GraknClient$Session.<init>(GraknClient.java:136)
at grakn.client.GraknClient.session(GraknClient.java:123)
at grakn.core.console.ConsoleSession.<init>(ConsoleSession.java:90)
at grakn.core.console.GraknConsole.run(GraknConsole.java:99)
at grakn.core.console.GraknConsole.main(GraknConsole.java:140)
Cannot understand what is the resolution for the same
So Thanks to help by grakn team , I resolved the issue by doing the following steps:
./grakn server stop
jps
on commandline to identify if there are any processes still running for the grakn servergrakn server start