A compatible version of hadoop-core jar is provided along in the lib/ directory of the archived HBase download. My Cloudera CDH3B4 HBase tar, for instance, has the CDH3B4 Hadoop packed along (and the 0.90.1 Apache release has an appropriate 0.20-append built jar packed along.
On Wed, Mar 16, 2011 at 7:19 PM, Sumeet M Nikam <[email protected]> wrote: > > Hi, > > I am new to hbase and trying to write first POJO to access hbase table, > please bear with my query it seems to be very simple but i am not able to > find the answer myself. I am using the sample code in api. > > Configuration config = HBaseConfiguration.create(); > HTable table = new HTable(config, "myLittleHBaseTable"); > ..... > > Used hbase-0.90.1 jar in class path, the strange thing i found is > Configuration[org.apache.hadoop.conf.Configuration > ] class is not in jar. so is it that the case that I need to add hadoop jar > in class path as well, I very well undesrtand that hbase and hadoop go > hand in hand, is that the reason the configuration class is not included in > hbase 0.90.1 distribution? > > > -- Harsh J http://harshj.com
