Thanks for recommending this approach. However, I am getting following error:
when running gremlin> def list = client.submit("g.V()").all().get()
>>> CCacheInputStream: readFlags()
get normal credential
org.apache.tinkerpop.gremlin.driver.exception.ResponseException: Failure to initialize security context
Also similarly when earlier I was running, I am getting inconsistent response:
1. :remote connect tinkerpop.server conf/remote.yaml
2. :remote console
3. graph=JanusGraphFactory.open("/root/janusgraph-0.6.0/conf/janusgraph-hbase.properties"), sometimes works fine and returns configured graph. However sometimes when I repeat 1,2. It gives error "Failure to initialize security context"