hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Baclace <paul.bacl...@gmail.com>
Subject ycsb and hbase 0.95.1 hadoop2
Date Mon, 29 Jul 2013 07:48:43 GMT
[This might look like a user list question, or a question for another 
project, but people on the hbase dev list use ycsb to test hbase, and 
the side effect of my progress on this benefits hbase more than any 
other project... please indulge me.]

I have been unable to build ycsb for hbase 0.95.1  hadoop2, even though 
I added the artifacts to my local repo like so:

mvn install:install-file 
-DgroupId=org.apache.hadoop -DartifactId=hadoop-mapreduce-client-core 
-Dversion=2.0.2-alpha -Dpackaging=jar

mvn install:install-file 
-DgroupId=org.apache.hbase -DartifactId=hbase-client 
-Dversion=0.95.1-hadoop2 -Dpackaging=jar

I looked at the pom.xml in the jar files to determine the parameters, 
modified ycsb pom.xml and hbase/pom.xml; ycsb  "mvn clean package" has 
errors, not finding basic stuff:


package org.apache.hadoop.conf does not exist

cannot find symbol
symbol  : class KeyValue
location: package org.apache.hadoop.hbase

cannot find symbol
symbol  : class Bytes
location: package org.apache.hadoop.hbase.util

cannot find symbol
symbol  : class HBaseConfiguration
location: package org.apache.hadoop.hbase
[... more not shown for brevity ]

I suspect ycsb pom.xml [https://github.com/brianfrankcooper/YCSB] is not 
ready for packaging changes made in hbase 0.95 OR could it be that 
adding jars to a local maven repo, because they are not yet on a 
centralized server, simply does not suffice because not all dependencies 
are added?   HBaseConfiguration is in hbase-common-0.95.1-hadoop2.jar , 
but how to add all the turtles all the way down?

What's the secret to using ycsb for the latest HBase?

View raw message