There was a problem in the ivy settings file.  I had to uncomment the
following line to get past this error.
  <!-- Uncomment this to use HBase as Gora backend. -->

    <dependency org="org.apache.gora" name="gora-hbase" rev="0.2"
conf="*->default" />

However, now I am getting the following exception.
pdave@pdave-Vostro-1500:~/src/apache-nutch-2.0/runtime/local/bin$
./nutch inject /someseedDir
InjectorJob: starting
InjectorJob: urlDir: /someseedDir
InjectorJob: org.apache.gora.util.GoraException:
java.lang.IllegalArgumentException: Not a host:port pair: �


On Thu, Aug 16, 2012 at 2:59 PM, Prashant Dave <[email protected]> wrote:
> I am trying to get Nutch 2.0 working as per the instructions on the
> following page:
>
> http://wiki.apache.org/nutch/Nutch2Tutorial
>
> I am getting the following error. Is there a configuration setting
> that is missing? Looks like there is a jar that is not there in the
> classpath. Any help is appreciated.
>
> pdave@pdave-Vostro-1500:~/src/apache-nutch-2.0/runtime/local/bin$
> ./nutch inject /someseedDir
> InjectorJob: starting
> InjectorJob: urlDir: /someseedDir
> InjectorJob: java.lang.ClassNotFoundException:
> org.apache.gora.hbase.store.HBaseStore
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:186)
>         at 
> org.apache.nutch.storage.StorageUtils.getDataStoreClass(StorageUtils.java:76)
>         at 
> org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:67)
>         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:288)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>         at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:298)

Reply via email to