nutch2.3 hadoop2.6.0 hbase0.98.8 分布式爬虫NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfigurati

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration

at org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:114)
at org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:101)
at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:160)
at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:134)
at org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:78)
at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:218)
at org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:252)
at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:275)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:284)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

在local/bin下报该错:

   像官网说的那样将Hbase/lib 下面的*.jar 复制到nutch/runtime/local/lib下

在deploy/bin下报该错:

   开源中国震秦说的的那样将Hbase/lib 下面的*.jar 复制到 hadoop/share/hadoop/mapreduce下(非常感谢他能为我解答)

你可能感兴趣的:(hadoop,hbase,nutch2.3)