Nutch + HBase: hbase versions issue and java exception -


i'm trying setup nutch 2.2.1 using hbase 0.94.14, on debian squeeze. i've followed nutch 1 , 2 tutorials , various documentations. build hbase 0.94.14, , got work (i can create tables etc.) build nutch without issue (it's set on gora 0.3)

now issues are: 1- when trying launch nutch, following trace:

./nutch inject /root/nutch/apache-nutch-2.2.1/urls/ injectorjob: starting @ 2014-11-27 09:43:53 injectorjob: injecting urldir: /root/nutch/apache-nutch-2.2.1/urls injectorjob: java.lang.classnotfoundexception: org.apache.gora.memory.store.hbasestore     @ java.net.urlclassloader$1.run(urlclassloader.java:372)     @ java.net.urlclassloader$1.run(urlclassloader.java:361) 

etc.

using strace -f, i've figured out "hbasestore.class" not found:

stat("/root/nutch/apache-nutch-2.2.1/runtime/local/org/apache/gora/memory/store/hbasestore.class",\   <unfinished ...> [pid  1827] <... futex resumed> )       = -1 eagain (resource temporarily unavailable) 

i tried figure out if there issue classpath, found out that: - hbasestore.class present neither in nutch directory tree nor in hbase 0.94.4 directory tree - hbase jar version in nutch tree surprinsingly: hbase-0.90.4.jar

according online discussions found, replace hbase-0.90.4.jar in nutch tree hbase-0.94.4 hbase tree...

but: - doesn't fix java issue - each time i'm rebuilding nutch, hbase-0.90.4.jar , can't find source in nutch tree :-/

note /root/nutch/apache-nutch-2.2.1/conf/hbase-site.xml has:

<property> <name>hbase.rootdir</name> <value>/root/nutch/hbase-master/conf/</value> </property> 

which corresponds nutch 0.94.4 ...

also tried rebuild , use gora 0.5 makes nutch build fail.

i'm not expert in java @ all, , don't understand why nutch not using correct version of hbase, why seems there missing sources , java classes, , @ point i'm totally stuck. mess.

thanks tip save situation.

alfonso,

i checked gora.properties, ok.

also, i've tried latest 2.3 snapshot unfortunately ended dependency issue @ build time:

[ivy:resolve]       :::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve]       ::          unresolved dependencies         :: [ivy:resolve]       :::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve]       ::   org.restlet.jse#org.restlet.lib.org.restlet.lib.org.json;2.0:     java.text.parseexception: inconsistent module descriptor file found in 'http://maven.restlet.org/org/restlet/jse/org.restlet.lib.org.restlet.lib.org.json/2.0/org.restlet.lib.org.restlet.lib.org.json-2.0.pom': bad module name: expected='org.restlet.lib.org.restlet.lib.org.json' found='org.restlet.lib.org.json';  [ivy:resolve]       :::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve] :::: errors [ivy:resolve]       restlet: bad module name found in http://maven.restlet.org/org/restlet/jse/  org.restlet.lib.org.restlet.lib.org.json/2.0/org.restlet.lib.org.restlet.lib.org.json-2.0.pom: expected='org.restlet.lib.org.restlet.lib.org.json found='org.restlet.lib.org.json' [ivy:resolve]  [ivy:resolve] :: use verbose or debug message level more details  build failed /root/nutch/2.3/build.xml:467: impossible resolve dependencies:         resolve failed - see output details 

Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -