Hi Saurabh

On Wed, May 13, 2015 at 7:38 PM, <[email protected]> wrote:

>
> But when I run
> runtime/local/bin/nutch index -all
> It I get:
> SolrIndexerJob: java.lang.RuntimeException: job failed: name=Indexer,
> jobid=job_local830597808_0001
>         at
> org.apache.nutch.util.NutchJob.waitForCompletion(NutchJob.java:54)
>         at org.apache.nutch.indexer.IndexingJob.run(IndexingJob.java:154)
>         at org.apache.nutch.indexer.IndexingJob.index(IndexingJob.java:176)
>         at org.apache.nutch.indexer.IndexingJob.run(IndexingJob.java:202)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>         at org.apache.nutch.indexer.IndexingJob.main(IndexingJob.java:211)
>


Whenever anything is wrong and you are struggling to get better logging,
please always activate TRACE level logging in conf/log4j.properties, then
post better logs or at least paste them somewhere and we can provide
feedback on them.


>
> This shouldn't be happening, since I have indexer-elastic in my
> nutch-site.xml.
>

Can you check that the indexer-elastic plugin and associated packages JAR
is also available within runtime/local/plugins/


>
>  I tried running runtime/local/bin/nutch elasticindex -all but I get the
> error:
> Error: Could not find or load main class
> org.apache.nutch.indexer.elastic.ElasticIndexerJob
>
> I just trying to get things set up on my local machine.


Have wyou checked that your ES port is open and correctly defined within
nutch-site.xml? You could also check your ES logs and see if the client
connection is even making it through to the server.
Lewis

Reply via email to