Hi Titan group,
There are multiple conf files exists, and how do I start Titan with via titan.sh
?
Let’s say I have already configured titan-hbase.properties
, do I start Titan with titan.sh -c hbase start
?
I am aware that there is another way to start Titan, using Gremlin console:
gremlin> g = TitanFactory.open('hbase:...') # cant remember the parameter used
whereas I’m not sure if Titan and the connection to HBase still runs if I exit Gremlin console.
And, does Titan reads conf/titan-hbase.properties
in either way above?
Any tips are welcome. =D
BR,
Todd Leo
--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/3da37ad6-9f4d-45de-902b-b6214341614a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi David,
I followed your steps, but I still have troubles when starting gremlin-server.sh
. I found no storage.hbase.ext.zookeeper.znode.parent
property specified in hdfs-site.xml
, and I checked the manual the default value of this property is /hbase
. Therefore I set storage.hbase.ext.zookeeper.znode.parent=/hbase
in titan-hbase.properties
, but gremlin-server failed to start after dozens of attempts:
746 [main] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=s3:2181 sessionTimeout=90000 watcher=hconnection-0x1e16c0aa, quorum=s3:2181, baseZNo
de=/hbase
758 [main] INFO org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper - Process identifier=hconnection-0x1e16c0aa connecting to ZooKeeper ensemble=s3:2181
760 [main-SendThread(s3.intra.testcluster.com:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server s3.intra.testcluster.com/10.255.5.103:2181. Will not at
tempt to authenticate using SASL (unknown error)
765 [main-SendThread(s3.intra.testcluster.com:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to s3.intra.testcluster.com/10.255.5.103:2181, initiating ses
sion
781 [main-SendThread(s3.intra.testcluster.com:2181)] INFO org.apache.zookeeper.ClientCnxn - Session establishment complete on server s3.intra.testcluster.com/10.255.5.103:2181, sessio
nid = 0x3513863d8f663f2, negotiated timeout = 40000
861 [main] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=s3:2181 sessionTimeout=90000 watcher=hconnection-0xd771cc9, quorum=s3:2181, baseZNod
e=/hbase
862 [main] INFO org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper - Process identifier=hconnection-0xd771cc9 connecting to ZooKeeper ensemble=s3:2181
863 [main-SendThread(s3.intra.testcluster.com:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server s3.intra.testcluster.com/10.255.5.103:2181. Will not at
tempt to authenticate using SASL (unknown error)
863 [main-SendThread(s3.intra.testcluster.com:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to s3.intra.testcluster.com/10.255.5.103:2181, initiating ses
sion
865 [main-SendThread(s3.intra.testcluster.com:2181)] INFO org.apache.zookeeper.ClientCnxn - Session establishment complete on server s3.intra.testcluster.com/10.255.5.103:2181, sessio
nid = 0x3513863d8f663f3, negotiated timeout = 40000
868 [main] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=s3:2181 sessionTimeout=90000 watcher=catalogtracker-on-hconnection-0xd771cc9, quorum=ksdc
-s3:2181, baseZNode=/hbase
869 [main] INFO org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper - Process identifier=catalogtracker-on-hconnection-0xd771cc9 connecting to ZooKeeper ensemble=s3:2181
869 [main-SendThread(s3.intra.testcluster.com:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server s3.intra.testcluster.com/10.255.5.103:2181. Will not at
tempt to authenticate using SASL (unknown error)
870 [main-SendThread(s3.intra.testcluster.com:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to s3.intra.testcluster.com/10.255.5.103:2181, initiating ses
sion
871 [main-SendThread(s3.intra.testcluster.com:2181)] INFO org.apache.zookeeper.ClientCnxn - Session establishment complete on server s3.intra.testcluster.com/10.255.5.103:2181, sessio
nid = 0x3513863d8f663f4, negotiated timeout = 40000
1229 [main] INFO org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation - Closing zookeeper sessionid=0x3513863d8f663f3
1232 [main] INFO org.apache.zookeeper.ZooKeeper - Session: 0x3513863d8f663f3 closed
1232 [main-EventThread] INFO org.apache.zookeeper.ClientCnxn - EventThread shut down
1334 [main] INFO org.apache.zookeeper.ZooKeeper - Session: 0x3513863d8f663f4 closed
1334 [main-EventThread] INFO org.apache.zookeeper.ClientCnxn - EventThread shut down
...
8956 [gremlin-server-boss-1] ERROR org.apache.tinkerpop.gremlin.server.GremlinServer - Gremlin Server was unable to start and will now begin shutdown: Could not bind to 0.0.0.0 and 8182 - perhaps something else is bound to that address.
also tried to use your setting: storage.hbase.ext.zookeeper.znode.parent=/hbase-unsecure
, the connection can be establisted, whereas the command gremlin> :remote connect tinkerpop.server conf/remote.yaml
hangs, with no results nor errors. Tried to use host: localhost
instead of host: 0.0.0.0
but doesn’t seem to help.
BR,
Todd
storage.hbase.ext.zookeeper.znode.parent
Based on this example:storage.hbase.ext.zookeeper.znode.parent=/hbase-unsecure
Hi David,
I got the following as I executed ls /
in zkCli.sh:
[mesos, zookeeper, swarm, hbase, hadoop-ha]
Does this imply the value of the setting should be hbase
?
BR,
Todd Leo
--
You received this message because you are subscribed to a topic in the Google Groups "Aurelius" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/aureliusgraphs/PJW64yyziqE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/37dfd7a6-56fd-4a78-9833-33ab7b9a8b83%40googlegroups.com.