Hi ,

After getting some errors with Cassandra backend with Nutch2.x , I am
trying now HBase. I have installed HBase 94.8 and have also created sample
table in it.

After following these links

http://wiki.apache.org/nutch/RunNutchInEclipse
http://wiki.apache.org/nutch/Nutch2Tutorial?action=show&redirect=GORA_HBase

I am getting this error when I try to run my first injector job:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/hadoop/hbase/HBaseConfiguration
 at org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:108)
 at
org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:102)
 at
org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:161)
 at
org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:135)
 at
org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:75

I have noticed one strange thing that as we tell gora-properties that our
cassandra is running at localhots:9160 , we dont do such thing in case of
HBase  and just telling it that our default datastore is HBase.

So is there any missing step in these tutorials which could cause this
exception ?

Thanks,
Tony.

Reply via email to