You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Cihad Guzel <cg...@gmail.com> on 2015/04/05 17:33:30 UTC
InjectorJob: Job failed
hi all.
I have a problem on nutch 2.x.
I build nutch project via ant (ant runtime and ant eclipse). I tried the
command "nutch inject /someseedDir" and it run successfully. On the other
hand, if I run InjectorJob on eclipse, "webpage" is created by nutch but I
have an error as follow:
InjectorJob: java.lang.RuntimeException: job failed:
name=inject someseedDir, jobid=job_local2110568294_0001
at org.apache.nutch.util.NutchJob.waitForCompletion(NutchJob.java:54)
...
I followed nutch wiki (https://wiki.apache.org/nutch/RunNutchInEclipse) and
hbase wiki (http://hbase.apache.org/book.html#quickstart)
my hbase-site.xml :
<configuration>
<property>
<name>hbase.rootdir</name>
<value>file:///home/cg/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/cg/zookeeper</value>
</property>
</configuration>
I am tried on hbase-0.94.14 or hbase-0.94.26.
What is your suggestion?
Thanks.
Cihad Güzel
Re: InjectorJob: Job failed
Posted by Cihad Guzel <cg...@gmail.com>.
Thanks Talat.
ok. I did it. Then I added plugins path in nutch-site.xml as follow:
<property>
<name>plugin.folders</name>
<value>/home/cg/Projects/nutch/build/plugins</value>
</property>
It is run successfully.
2015-04-05 20:28 GMT+03:00 Talat Uyarer <ta...@uyarer.com>:
> Hi Cihad,
>
> In eclipse you should move conf directory to the top at Java
> Buildpath/ Order and Export tab. Did you do it ? Could you share your
> error log ?
>
> 2015-04-05 18:33 GMT+03:00 Cihad Guzel <cg...@gmail.com>:
> > hi all.
> >
> > I have a problem on nutch 2.x.
> >
> > I build nutch project via ant (ant runtime and ant eclipse). I tried the
> > command "nutch inject /someseedDir" and it run successfully. On the other
> > hand, if I run InjectorJob on eclipse, "webpage" is created by nutch but
> I
> > have an error as follow:
> >
> > InjectorJob: java.lang.RuntimeException: job failed:
> > name=inject someseedDir, jobid=job_local2110568294_0001
> > at org.apache.nutch.util.NutchJob.waitForCompletion(NutchJob.java:54)
> > ...
> >
> > I followed nutch wiki (https://wiki.apache.org/nutch/RunNutchInEclipse)
> and
> > hbase wiki (http://hbase.apache.org/book.html#quickstart)
> >
> > my hbase-site.xml :
> >
> > <configuration>
> > <property>
> > <name>hbase.rootdir</name>
> > <value>file:///home/cg/hbase</value>
> > </property>
> > <property>
> > <name>hbase.zookeeper.property.dataDir</name>
> > <value>/home/cg/zookeeper</value>
> > </property>
> > </configuration>
> >
> > I am tried on hbase-0.94.14 or hbase-0.94.26.
> >
> > What is your suggestion?
> >
> > Thanks.
> > Cihad Güzel
>
>
>
> --
> Talat UYARER
> Websitesi: http://talat.uyarer.com
> Twitter: http://twitter.com/talatuyarer
> Linkedin: http://tr.linkedin.com/pub/talat-uyarer/10/142/304
>
Re: InjectorJob: Job failed
Posted by Talat Uyarer <ta...@uyarer.com>.
Hi Cihad,
In eclipse you should move conf directory to the top at Java
Buildpath/ Order and Export tab. Did you do it ? Could you share your
error log ?
2015-04-05 18:33 GMT+03:00 Cihad Guzel <cg...@gmail.com>:
> hi all.
>
> I have a problem on nutch 2.x.
>
> I build nutch project via ant (ant runtime and ant eclipse). I tried the
> command "nutch inject /someseedDir" and it run successfully. On the other
> hand, if I run InjectorJob on eclipse, "webpage" is created by nutch but I
> have an error as follow:
>
> InjectorJob: java.lang.RuntimeException: job failed:
> name=inject someseedDir, jobid=job_local2110568294_0001
> at org.apache.nutch.util.NutchJob.waitForCompletion(NutchJob.java:54)
> ...
>
> I followed nutch wiki (https://wiki.apache.org/nutch/RunNutchInEclipse) and
> hbase wiki (http://hbase.apache.org/book.html#quickstart)
>
> my hbase-site.xml :
>
> <configuration>
> <property>
> <name>hbase.rootdir</name>
> <value>file:///home/cg/hbase</value>
> </property>
> <property>
> <name>hbase.zookeeper.property.dataDir</name>
> <value>/home/cg/zookeeper</value>
> </property>
> </configuration>
>
> I am tried on hbase-0.94.14 or hbase-0.94.26.
>
> What is your suggestion?
>
> Thanks.
> Cihad Güzel
--
Talat UYARER
Websitesi: http://talat.uyarer.com
Twitter: http://twitter.com/talatuyarer
Linkedin: http://tr.linkedin.com/pub/talat-uyarer/10/142/304