hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Rodionov <vladrodio...@gmail.com>
Subject Re: YCSB test HBase issues
Date Tue, 08 Apr 2014 17:46:37 GMT
You have wrong hbase-site.xml in hbase-binding/conf/. You need to put your
cluster's configuration file into
this directory.


On Tue, Apr 8, 2014 at 2:11 AM, yanqing huang <yanqinghuang1991@gmail.com>wrote:

> When i used ycsb, and executed this command "$YCSB_HOME/bin/ycsb load hbase
> -P workloads/workloada -p columnfamily=f1 -p recordcount=100000000 -s >
> workloada.dat", an error occured, show as below´╝Ü
> java.lang.RuntimeException: java.io.IOException: Unable to determine
> ZooKeeper ensemble
>   at
>
> com.yahoo.ycsb.db.HBaseClient$HTableFactory.createHTableInterface(HBaseClient.java:85)
>   at
> com.yahoo.ycsb.db.HBaseClient$HTablePool.getTable(HBaseClient.java:112)
>   at com.yahoo.ycsb.db.HBaseClient.getHTable(HBaseClient.java:200)
>   at com.yahoo.ycsb.db.HBaseClient.update(HBaseClient.java:380)
>   at com.yahoo.ycsb.db.HBaseClient.insert(HBaseClient.java:435)
>   at com.yahoo.ycsb.DBWrapper.insert(DBWrapper.java:148)
>   at com.yahoo.ycsb.workloads.CoreWorkload.doInsert(CoreWorkload.java:514)
>   at com.yahoo.ycsb.ClientThread.run(Client.java:269)
> Caused by: java.io.IOException: Unable to determine ZooKeeper ensemble
>   at org.apache.hadoop.hbase.zookeeper.ZKUtil.connect(ZKUtil.java:120)
>   at
>
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:165)
>   at
>
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:134)
>   at
>
> org.apache.hadoop.hbase.client.ZooKeeperKeepAliveConnection.<init>(ZooKeeperKeepAliveConnection.java:43)
>   at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getKeepAliveZooKeeperWatcher(HConnectionManager.java:1768)
>   at
>
> org.apache.hadoop.hbase.client.ZooKeeperRegistry.isTableOnlineState(ZooKeeperRegistry.java:100)
>   at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.isTableDisabled(HConnectionManager.java:930)
>   at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.relocateRegion(HConnectionManager.java:1083)
>   at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:1314)
>   at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:1110)
>   at
>
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:1067)
>   at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:326)
>   at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:192)
>   at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:165)
>   at
>
> com.yahoo.ycsb.db.HBaseClient$HTableFactory.createHTableInterface(HBaseClient.java:80)
>   ... 7 more
>
> thanks for any help
>

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