>
> First issue, everything is running out of runtime/local, hence any changes
> made to the conf files in original NUTCH_HOME are not being used.  Might
> be worth mentioning somewhere in writing...


Next problem is

bin/nutch index -all
>
> IndexingJob: starting
> *SolrIndexerJob:* java.lang.RuntimeException: job failed:
> name=apache-nutch-2.3.1.jar, jobid=job_local477593266_0001
> at org.apache.nutch.util.NutchJob.waitForCompletion(NutchJob.java:120)
> 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:70)
> at org.apache.nutch.indexer.IndexingJob.main(IndexingJob.java:211)
>
> There are no SOLR parameter configured anywhere that I am aware of.
Everything is configured for elastic as indicated.

Regards,

-Steve

(415) 320-1102 <https://www.google.com/voice/#phones>



On Fri, Oct 13, 2017 at 3:06 PM, Steven Pollock <jacksonp2...@gmail.com>
wrote:

> *Followed the tutorial* to build this up: https://wiki.apache.org/nutch/
> Nutch2Tutorial
>
> *All commands work*: fetch, generate, parse, updatedb, and I can dump the
> database and the contents look correct.
>
>  *Last step, which is to index into elastic fails* with:
>
>>
>> * root@spider1:~/apache-nutch-2.3.1/runtime/local# bin/nutch index
>> elasticsearch -all*
>> *IndexingJob: starting*
>> *No IndexWriters activated - check your configuration*
>
>
> and nothing is pushed to elasticsearch.
>
> *Relevant parameters from nutch-site.xml:*
>
> <property>
>
> <name>*plugin.includes*</name>
>
>  <value>protocol-http|urlfilter-regex|parse-(html|
> tika)|index-(basic|anchor)|urlnormalizer-(pass|regex|basic)|scoring-opic|
> *indexer-elastic*</value>
>
>
> <property>
>
>   <name>*elastic.hos*t</name>
>
>   <value>*10.80.99.54*</value>
>
>
>
> <property>
>
>   <name>*elastic.por*t</name>
>
>   <value>*9300*</value>
>
> <property>
>
>   <name>*elastic.index*</name>
>
>   <value>*nutch*</value>
>
>
> Elastic is working fine:
>
> curl 10.80.99.54:9200
>> {
>>   "name" : "WyVaQSH",
>>   "cluster_name" : "fsse",
>>   "cluster_uuid" : "chydLbdbT9iIuhdY0YHAFw",
>>   "version" : {
>>     "number" : "5.6.1",
>>     "build_hash" : "667b497",
>>     "build_date" : "2017-09-14T19:22:05.189Z",
>>     "build_snapshot" : false,
>>     "lucene_version" : "6.6.1"
>>   },
>>   "tagline" : "You Know, for Search"
>> }
>
>
>
>
> Any ideas what the issue might be?
>
>
> Thanks!,
>
> -Steve
>
> (415) 320-1102
>
>

Reply via email to