I've seen similar issues anmd reported at least one:
https://issues.apache.org/jira/browse/NUTCH-970

Using HSQLDB did work. At least it didn't throw exceptions...

On Wednesday 10 August 2011 21:45:51 lewis john mcgibbney wrote:
> Hi,
> 
> Pretty nasty looking error when using most recent Nutch trunk 2.0, Gora
> trunk and HBase 0.20.6. I started up the the HBase server in local mode as
> per
> 
> lewis@lewis-01:~/ASF/hbase_0.20.6$ bin/start-hbase.sh
> localhost: starting zookeeper, logging to
> /home/lewis/ASF/hbase_0.20.6/bin/../logs/hbase-lewis-zookeeper-lewis-01.out
> starting master, logging to
> /home/lewis/ASF/hbase_0.20.6/bin/../logs/hbase-lewis-master-lewis-01.out
> localhost: starting regionserver, logging to
> /home/lewis/ASF/hbase_0.20.6/bin/../logs/hbase-lewis-regionserver-lewis-01.
> out
> 
> Therefore I genuinely do not have a clue what is going on here... therefore
> any pointers would be great.
> 
> lewis@lewis-01:~/ASF/trunk/runtime/local$ bin/nutch inject urls
> InjectorJob: starting
> InjectorJob: urlDir: urls
> InjectorJob: org.apache.gora.util.GoraException:
> java.lang.reflect.InvocationTargetException
>     at
> org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.jav
> a:110) at
> org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.jav
> a:93) at
> org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:59)
>     at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:243)
>     at org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:268)
>     at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:282)
>     at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>     at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:292)
> Caused by: java.lang.reflect.InvocationTargetException
>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method) at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce
> ssorImpl.java:39) at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru
> ctorAccessorImpl.java:27) at
> java.lang.reflect.Constructor.newInstance(Constructor.java:513) at
> org.apache.gora.util.ReflectionUtils.newInstance(ReflectionUtils.java:76)
>     at
> org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.jav
> a:103) ... 7 more
> Caused by: java.lang.Error: Unresolved compilation problems:
>     The import org.apache.hadoop.hbase cannot be resolved
>     The import org.apache.hadoop.hbase cannot be resolved
>     The import org.apache.hadoop.hbase cannot be resolved
>     The import org.apache.hadoop.hbase cannot be resolved
>     The import org.apache.hadoop.hbase cannot be resolved
>     The import org.apache.hadoop.hbase cannot be resolved
>     The import org.apache.hadoop.hbase cannot be resolved
>     The import org.apache.hadoop.hbase cannot be resolved
>     The import org.apache.hadoop.hbase cannot be resolved
>     The import org.apache.hadoop.hbase cannot be resolved
>     The import org.apache.hadoop.hbase cannot be resolved
>     The import org.apache.hadoop.hbase cannot be resolved
>     The import org.apache.hadoop.hbase cannot be resolved
>     The import org.jdom cannot be resolved
>     The import org.jdom cannot be resolved
>     The import org.jdom cannot be resolved
>     HBaseAdmin cannot be resolved to a type
>     HTable cannot be resolved to a type
>     HBaseConfiguration cannot be resolved to a type
>     HBaseAdmin cannot be resolved to a type
>     HBaseAdmin cannot be resolved to a type
>     HBaseConfiguration cannot be resolved to a type
>     HTable cannot be resolved to a type
>     HTable cannot be resolved to a type
>     HBaseAdmin cannot be resolved to a type
>     HTableDescriptor cannot be resolved to a type
>     The method getTable() from the type HBaseMapping refers to the missing
> type HTableDescriptor
>     HBaseAdmin cannot be resolved to a type
>     HBaseAdmin cannot be resolved to a type
>     HTable cannot be resolved to a type
>     HTable cannot be resolved to a type
>     HBaseAdmin cannot be resolved to a type
>     HBaseAdmin cannot be resolved to a type
>     HBaseAdmin cannot be resolved to a type
>     Get cannot be resolved to a type
>     Get cannot be resolved to a type
>     Result cannot be resolved to a type
>     HTable cannot be resolved to a type
>     Put cannot be resolved to a type
>     Put cannot be resolved to a type
>     Delete cannot be resolved to a type
>     Delete cannot be resolved to a type
>     Bytes cannot be resolved
>     Bytes cannot be resolved
>     Bytes cannot be resolved
>     HTable cannot be resolved to a type
>     HTable cannot be resolved to a type
>     HTable cannot be resolved to a type
>     Delete cannot be resolved to a type
>     Delete cannot be resolved to a type
>     Delete cannot be resolved to a type
>     Delete cannot be resolved to a type
>     Delete cannot be resolved to a type
>     HTable cannot be resolved to a type
>     HTable cannot be resolved to a type
>     Pair cannot be resolved to a type
>     HTable cannot be resolved to a type
>     HTable cannot be resolved to a type
>     HTable cannot be resolved to a type
>     HConstants cannot be resolved
>     HConstants cannot be resolved
>     Bytes cannot be resolved
>     Bytes cannot be resolved
>     Bytes cannot be resolved
>     Bytes cannot be resolved
>     HConstants cannot be resolved
>     HConstants cannot be resolved
>     Get cannot be resolved to a type
>     Get cannot be resolved to a type
>     Result cannot be resolved to a type
>     HTable cannot be resolved to a type
>     ResultScanner cannot be resolved to a type
>     The method createScanner(Query<K,T>) from the type HBaseStore<K,T>
> refers to the missing type ResultScanner
>     ResultScanner cannot be resolved to a type
>     Scan cannot be resolved to a type
>     Scan cannot be resolved to a type
>     HTable cannot be resolved to a type
>     Get cannot be resolved to a type
>     Scan cannot be resolved to a type
>     Delete cannot be resolved to a type
>     Get cannot be resolved to a type
>     Result cannot be resolved to a type
>     Bytes cannot be resolved
>     SAXBuilder cannot be resolved to a type
>     SAXBuilder cannot be resolved to a type
>     Document cannot be resolved to a type
>     Element cannot be resolved to a type
>     Element cannot be resolved to a type
>     Element cannot be resolved to a type
>     Element cannot be resolved to a type
>     Element cannot be resolved to a type
>     Element cannot be resolved to a type
>     Element cannot be resolved to a type
>     Element cannot be resolved to a type
>     Element cannot be resolved to a type
>     The method addColumnFamily(String, String) from the type HBaseMapping
> refers to the missing type HColumnDescriptor
>     HTable cannot be resolved to a type
>     HTable cannot be resolved to a type
> 
>     at org.apache.gora.hbase.store.HBaseStore.<init>(HBaseStore.java:59)
>     ... 13 more

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350

Reply via email to