Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # dev >> Is there a means of 'catching' a Connection Timeout


Copy link to this message
-
Re: Is there a means of 'catching' a Connection Timeout
I'm currently using Accumulo version 1.4.3, Hadoop version 1.2.0, and
Zookeeper 3.3.6.

Here's a stack trace of what's going down:

13/08/15 15:00:17 INFO zookeeper.ClientCnxn: Client session timed out, have
not heard from server in 29577ms for sessionid 0x14073acbb2c687f, closing
socket connection and attempting reconnect
13/08/15 15:00:18 INFO zookeeper.ClientCnxn: Opening socket connection to
server SERVER
13/08/15 15:00:18 INFO zookeeper.ClientCnxn: Socket connection established
to SERVER, initiating session
13/08/15 15:00:18 INFO zookeeper.ClientCnxn: Session establishment complete
on server SERVER, sessionid = 0x14073acbb2c687f, negotiated timeout = 40000
13/08/15 15:11:40 INFO zookeeper.ClientCnxn: Client session timed out, have
not heard from server in 682606ms for sessionid 0x14073acbb2c687f, closing
socket connection and attempting reconnect
13/08/15 15:11:41 INFO zookeeper.ClientCnxn: Opening socket connection to
server argus-1/192.168.20.100:2181
13/08/15 15:11:43 INFO zookeeper.ClientCnxn: Socket connection established
to argus-1/192.168.20.100:2181, initiating session
13/08/15 15:11:43 INFO zookeeper.ClientCnxn: EventThread shut down
13/08/15 15:11:43 INFO zookeeper.ClientCnxn: Unable to reconnect to
ZooKeeper service, session 0x14073acbb2c687f has expired, closing socket
connection

I get the EventThread shut down and then my program cannot continue.

-----

--
View this message in context: http://apache-accumulo.1065345.n5.nabble.com/Is-there-a-means-of-catching-a-Connection-Timeout-tp5112p5134.html
Sent from the Developers mailing list archive at Nabble.com.
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB