Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.90.3
-
None
-
None
-
None
-
Reviewed
Description
Currently the number of the client connections is hard-wired to 1000:
standaloneServerFactory = new NIOServerCnxnFactory(); standaloneServerFactory.configure(new InetSocketAddress(clientPort),1000); } catch (BindException e) {
This should be set according to the test environment's hbase configuration. The property in
question is : hbase.zookeeper.property.maxClientCnxns.
Currently some tests such as org.apache.hadoop.hbase.client.TestHCM fail because the number of connections used by the HBase client exceeds 1000.
Recently MAX_CACHED_HBASE_INSTANCES increased from 31 to 2000 on 0.90 branch:
and correspondingly the hbase config on the Zookeeper server-side also increased in hbase-default.xml:
So if MiniZKCluster looks at this setting, the test won't have this failure.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-3773 Set ZK max connections much higher in 0.90
- Closed
-
HBASE-3777 Redefine Identity Of HBase Configuration
- Closed