I have a basic connectivity test for hbase:

   env = System.getenv()
   session = Hadoop.login( env.gateway, env.username, env.password )

   println "System version : " +
HBase.session(session).systemVersion().now().string
   println "Cluster version : " +
HBase.session(session).clusterVersion().now().string
   println "Status : " + HBase.session(session).status().now().string

However, there is an issue on the server that is causing the connection to
hang.  Is it possible to get access to the HTTPClient object so that I can
set a timeout?

E.g.

   session = Hadoop.login( env.gateway, env.username, env.password )
   session.httpClient.params.setConnectionTimeout(10000)


Many thanks,

Chris

Reply via email to