hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Liochon <nkey...@gmail.com>
Subject Re: HBase 0.94 and YCSB 0.14
Date Fri, 28 Mar 2014 15:25:38 GMT
The version on my repo works with multiple HBase/Hadoop version. It's at
https://github.com/nkeywal/YCSB
Default is 0.92:
mvn clean package

For 0.94, it's something like, to be changed depending on your version:
mvn clean package -Dhbase.version=0.94.12 -Dhadoop.version=1.0.4
-Dslf4j-api.version=1.4.3 -DskipTests

For .98
mvn clean package -DskipTests -Dhbase.version=0.98.0-hadoop2 -Dhbase-client

There is some life on the official YCSB repo these days, I hope my changes
will be integrated there...



On Fri, Mar 28, 2014 at 12:44 AM, Aditya <adityakishore@gmail.com> wrote:

> YCSB 0.14, by default, compiles against HBase 0.92. Either update the
> pom.xml to change the hbase version to 0.94.x and recompile or put the YCSB
> jar (the fat one) at the end of the classpath.
>
>
> On Thu, Mar 27, 2014 at 4:11 PM, Tapper, Gunnar <gunnar.tapper@hp.com
> >wrote:
>
> > Hi,
> >
> > Apologies if this isn't an appropriate topic for this mailing list or if
> > the topic has already been covered - I could not find any info in the
> > archives for the last 6 months or so.
> >
> > I am trying to use the 0.14 YCSB benchmark for HBase version
> > 0.94.6.1.3.3.0-58. However, any attempt to run a benchmark yields the
> > following errors:
> >
> > 14/03/27 22:59:17 INFO zookeeper.ClientCnxn: Session establishment
> > complete on server node03.host.com/15.250.49.5:2181, sessionid =
> > 0x14496295849b2ae, negotiated timeo     ut = 40000
> > java.lang.IllegalArgumentException: Not a host:port pair: �
> > 22197@node03.host.comnode03.host.com,60020,1394855256006
> >         at
> > org.apache.hadoop.hbase.HServerAddress.<init>(HServerAddress.java:60)
> >         at
> >
> org.apache.hadoop.hbase.zookeeper.RootRegionTracker.dataToHServerAddress(RootRegionTracker.java:82)
> >         at
> >
> org.apache.hadoop.hbase.zookeeper.RootRegionTracker.waitRootRegionLocation(RootRegionTracker.java:73)
> >         at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:786)
> >         at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:766)
> >         at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:895)
> >         at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:797)
> >         at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:766)
> >         at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:895)
> >         at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:801)
> >         at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:766)
> >         at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:189)
> >         at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:163)
> >         at com.yahoo.ycsb.db.HBaseClient.getHTable(HBaseClient.java:111)
> >         at com.yahoo.ycsb.db.HBaseClient.update(HBaseClient.java:295)
> >         at com.yahoo.ycsb.db.HBaseClient.insert(HBaseClient.java:350)
> >         at com.yahoo.ycsb.DBWrapper.insert(DBWrapper.java:145)
> >         at
> > com.yahoo.ycsb.workloads.CoreWorkload.doInsert(CoreWorkload.java:461)
> >         at com.yahoo.ycsb.ClientThread.run(Client.java:269)
> > java.lang.IllegalArgumentException: Not a host:port pair: �
> > 22197@node03.host.comnode03.host.com,60020,1394855256006
> > java.lang.IllegalArgumentException: Not a host:port pair: �
> > 22197@node03.host.comnode03.host.com,60020,1394855256006
> >         at
> > org.apache.hadoop.hbase.HServerAddress.<init>(HServerAddress.java:60)
> >         at
> > org.apache.hadoop.hbase.HServerAddress.<init>(HServerAddress.java:60)
> >         at
> >
> org.apache.hadoop.hbase.zookeeper.RootRegionTracker.dataToHServerAddress(RootRegionTracker.java:82)
> >  at org.apache.hadoop.hbase.zookeeper.RootRegionTracker.data
> > ToHServerAddress(RootRegionTracker.java:82)
> >         at
> >
> org.apache.hadoop.hbase.zookeeper.RootRegionTracker.waitRootRegionLocation(RootRegionTracker.java:73)
> >
> >         at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:786)
> >         at
> >
> org.apache.hadoop.hbase.zookeeper.RootRegionTracker.waitRootRegionLocation(RootRegionTracker.java:73)
> >         at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:786)
> >         at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:766)
> >         at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:895)
> >         at
> >
> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:766)
> >        at org.apache.hadoop.hbase.client.H
> >
> > I'm using a standard Ambari distribution.
> >
> > $CLASSPATH contains:
> >
> >
> >
> /usr/lib/hadoop/hadoop-core.jar:/usr/lib/hadoop/lib/jetty-6.1.26.jar:/usr/lib/hadoop/lib/jetty-util-6.1.26.jar:/usr/lib/hadoop/hadoop-core-1.2.0.1.3.3.0-58.jar:/usr/lib/hbase/*:/usr/lib/hbase/lib/*
> >
> > What am I missing?
> >
> > Sincerely,
> >
> > Gunnar
> >
> > Download a free version of HPDSM, a unified big-data administration tool
> > for Vertica and Hadoop at: http://www.vertica.com/marketplace
> >
> > "People don't know what they want until you show it to them... Our task
> is
> > to read things that are not yet on the page." - Steve Jobs
> >
> >
> >
> >
>

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