Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # dev - HConstants.ZOOKEEPER_SESSION_TIMEOUT and HConstants.ZK_SESSION_TIMEOUT


Copy link to this message
-
HConstants.ZOOKEEPER_SESSION_TIMEOUT and HConstants.ZK_SESSION_TIMEOUT
Ted Yu 2012-12-21, 23:22
Hi,
There are two constants with the same value:
HConstants.ZOOKEEPER_SESSION_TIMEOUT and HConstants.ZK_SESSION_TIMEOUT

HConstants.ZOOKEEPER_SESSION_TIMEOUT is only used in tests.
HConstants.ZK_SESSION_TIMEOUT is used by ZKUtil

Shall we remove HConstants.ZOOKEEPER_SESSION_TIMEOUT and let tests use
HConstants.ZK_SESSION_TIMEOUT ?

Cheers