hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shanmuganathan.r" <shanmuganatha...@zohocorp.com>
Subject how to solve this problem?
Date Wed, 27 Jul 2011 11:12:34 GMT
Hi All,


            I am running the hbase in fully distributed mode. I want to create a table with
500 rows . After creation of 122 rows the following exception is thrown

org.apache.hadoop.hbase.ZooKeeperConnectionException: java.io.IOException: Too many open files
    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getZooKeeperWatcher(HConnectionManager.java:988)
    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.setupZookeeperTrackers(HConnectionManager.java:301)
    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.&lt;init&gt;(HConnectionManager.java:292)
    at org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:155)
    at org.apache.hadoop.hbase.client.HTable.&lt;init&gt;(HTable.java:167)
    at org.apache.hadoop.hbase.client.HTable.&lt;init&gt;(HTable.java:145)
    at com.zoho.ips.db.HBaseUtil.addNewSingleColumnFamilyValue(HBaseUtil.java:46)
    at com.zoho.ips.hbase.IPSKeyData.addData(IPSKeyData.java:26)
    at com.zoho.ips.IPSService.installService(IPSService.java:61)
    at com.zoho.ips.IPSService.install(IPSService.java:34)
    at testi.main(testi.java:6)
Caused by: java.io.IOException: Too many open files
    at sun.nio.ch.IOUtil.initPipe(Native Method)
    at sun.nio.ch.EPollSelectorImpl.&lt;init&gt;(EPollSelectorImpl.java:49)
    at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:18)
    at java.nio.channels.Selector.open(Selector.java:209)
    at org.apache.zookeeper.ClientCnxn.&lt;init&gt;(ClientCnxn.java:160)
    at org.apache.zookeeper.ClientCnxn.&lt;init&gt;(ClientCnxn.java:331)
    at org.apache.zookeeper.ZooKeeper.&lt;init&gt;(ZooKeeper.java:377)
    at org.apache.hadoop.hbase.zookeeper.ZKUtil.connect(ZKUtil.java:97)
    at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.&lt;init&gt;(ZooKeeperWatcher.java:119)
    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getZooKeeperWatcher(HConnectionManager.java:986)
    ... 10 more
Exception in thread "main" com.zoho.ips.IPSException: IPSError:Z102:java.io.IOException: Too
many open files
    at com.zoho.ips.db.HBaseUtil.addNewSingleColumnFamilyValue(HBaseUtil.java:63)
    at com.zoho.ips.hbase.IPSKeyData.addData(IPSKeyData.java:26)
    at com.zoho.ips.IPSService.installService(IPSService.java:61)
    at com.zoho.ips.IPSService.install(IPSService.java:34)
    at testi.main(testi.java:6)
Caused by: org.apache.hadoop.hbase.ZooKeeperConnectionException: java.io.IOException: Too
many open files
    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getZooKeeperWatcher(HConnectionManager.java:988)
    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.setupZookeeperTrackers(HConnectionManager.java:301)
    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.&lt;init&gt;(HConnectionManager.java:292)
    at org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:155)
    at org.apache.hadoop.hbase.client.HTable.&lt;init&gt;(HTable.java:167)
    at org.apache.hadoop.hbase.client.HTable.&lt;init&gt;(HTable.java:145)
    at com.zoho.ips.db.HBaseUtil.addNewSingleColumnFamilyValue(HBaseUtil.java:46)
    ... 4 more
Caused by: java.io.IOException: Too many open files
    at sun.nio.ch.IOUtil.initPipe(Native Method)
    at sun.nio.ch.EPollSelectorImpl.&lt;init&gt;(EPollSelectorImpl.java:49)
    at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:18)
    at java.nio.channels.Selector.open(Selector.java:209)
    at org.apache.zookeeper.ClientCnxn.&lt;init&gt;(ClientCnxn.java:160)
    at org.apache.zookeeper.ClientCnxn.&lt;init&gt;(ClientCnxn.java:331)
    at org.apache.zookeeper.ZooKeeper.&lt;init&gt;(ZooKeeper.java:377)
    at org.apache.hadoop.hbase.zookeeper.ZKUtil.connect(ZKUtil.java:97)
    at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.&lt;init&gt;(ZooKeeperWatcher.java:119)
    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getZooKeeperWatcher(HConnectionManager.java:986)
    ... 10 more


Please give me your valuable suggestion regarding this problem.

Thanks in advance .....


Regards


Shanmuganathan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message