nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abdul Munim (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (NUTCH-2269) Clean not working after crawl
Date Sat, 25 Jun 2016 21:04:37 GMT

    [ https://issues.apache.org/jira/browse/NUTCH-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15349822#comment-15349822
] 

Abdul Munim edited comment on NUTCH-2269 at 6/25/16 9:03 PM:
-------------------------------------------------------------

I think, I am having the same issue with `Nutch v1.12`. Please see the the exception below


{noformat}
2016-06-25 20:27:20,396 INFO  indexer.CleaningJob - CleaningJob: starting at 2016-06-25 20:27:20
2016-06-25 20:27:20,737 WARN  util.NativeCodeLoader - Unable to load native-hadoop library
for your platform... using bu
iltin-java classes where applicable
2016-06-25 20:27:21,879 WARN  conf.Configuration - file:/tmp/hadoop-root/mapred/staging/root1345410474/.staging/job_loca
l1345410474_0001/job.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.retry.interval;
 Ign
oring.
2016-06-25 20:27:21,884 WARN  conf.Configuration - file:/tmp/hadoop-root/mapred/staging/root1345410474/.staging/job_loca
l1345410474_0001/job.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.attempts;
 Ignoring.
2016-06-25 20:27:22,077 WARN  conf.Configuration - file:/tmp/hadoop-root/mapred/local/localRunner/root/job_local13454104
74_0001/job_local1345410474_0001.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.retry.in
terval;  Ignoring.
2016-06-25 20:27:22,084 WARN  conf.Configuration - file:/tmp/hadoop-root/mapred/local/localRunner/root/job_local13454104
74_0001/job_local1345410474_0001.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.attempts
;  Ignoring.
2016-06-25 20:27:22,111 WARN  output.FileOutputCommitter - Output Path is null in setupJob()
2016-06-25 20:27:22,882 INFO  indexer.IndexWriters - Adding org.apache.nutch.indexwriter.solr.SolrIndexWriter
2016-06-25 20:27:23,282 INFO  solr.SolrMappingReader - source: content dest: content
2016-06-25 20:27:23,282 INFO  solr.SolrMappingReader - source: title dest: title
2016-06-25 20:27:23,282 INFO  solr.SolrMappingReader - source: host dest: host
2016-06-25 20:27:23,282 INFO  solr.SolrMappingReader - source: segment dest: segment
2016-06-25 20:27:23,282 INFO  solr.SolrMappingReader - source: boost dest: boost
2016-06-25 20:27:23,282 INFO  solr.SolrMappingReader - source: digest dest: digest
2016-06-25 20:27:23,282 INFO  solr.SolrMappingReader - source: tstamp dest: tstamp
2016-06-25 20:27:23,312 INFO  solr.SolrIndexWriter - SolrIndexer: deleting 2/2 documents
2016-06-25 20:27:23,610 WARN  output.FileOutputCommitter - Output Path is null in cleanupJob()
2016-06-25 20:27:23,611 WARN  mapred.LocalJobRunner - job_local1345410474_0001
java.lang.Exception: java.lang.IllegalStateException: Connection pool shut down
        at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462)
        at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:529)
Caused by: java.lang.IllegalStateException: Connection pool shut down
        at org.apache.http.util.Asserts.check(Asserts.java:34)
        at org.apache.http.pool.AbstractConnPool.lease(AbstractConnPool.java:169)
        at org.apache.http.pool.AbstractConnPool.lease(AbstractConnPool.java:202)
{noformat}

Correct me if this exception doesn't fall under this issue.


was (Author: munim):
I think, I am having the same issue with `Nutch v1.12`. Please see the the exception below


{noformat}
	2016-06-25 20:27:20,396 INFO  indexer.CleaningJob - CleaningJob: starting at 2016-06-25 20:27:20
	2016-06-25 20:27:20,737 WARN  util.NativeCodeLoader - Unable to load native-hadoop library
for your platform... using bu
	iltin-java classes where applicable
	2016-06-25 20:27:21,879 WARN  conf.Configuration - file:/tmp/hadoop-root/mapred/staging/root1345410474/.staging/job_loca
	l1345410474_0001/job.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.retry.interval;
 Ign
	oring.
	2016-06-25 20:27:21,884 WARN  conf.Configuration - file:/tmp/hadoop-root/mapred/staging/root1345410474/.staging/job_loca
	l1345410474_0001/job.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.attempts;
 Ignoring.
	2016-06-25 20:27:22,077 WARN  conf.Configuration - file:/tmp/hadoop-root/mapred/local/localRunner/root/job_local13454104
	74_0001/job_local1345410474_0001.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.retry.in
	terval;  Ignoring.
	2016-06-25 20:27:22,084 WARN  conf.Configuration - file:/tmp/hadoop-root/mapred/local/localRunner/root/job_local13454104
	74_0001/job_local1345410474_0001.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.attempts
	;  Ignoring.
	2016-06-25 20:27:22,111 WARN  output.FileOutputCommitter - Output Path is null in setupJob()
	2016-06-25 20:27:22,882 INFO  indexer.IndexWriters - Adding org.apache.nutch.indexwriter.solr.SolrIndexWriter
	2016-06-25 20:27:23,282 INFO  solr.SolrMappingReader - source: content dest: content
	2016-06-25 20:27:23,282 INFO  solr.SolrMappingReader - source: title dest: title
	2016-06-25 20:27:23,282 INFO  solr.SolrMappingReader - source: host dest: host
	2016-06-25 20:27:23,282 INFO  solr.SolrMappingReader - source: segment dest: segment
	2016-06-25 20:27:23,282 INFO  solr.SolrMappingReader - source: boost dest: boost
	2016-06-25 20:27:23,282 INFO  solr.SolrMappingReader - source: digest dest: digest
	2016-06-25 20:27:23,282 INFO  solr.SolrMappingReader - source: tstamp dest: tstamp
	2016-06-25 20:27:23,312 INFO  solr.SolrIndexWriter - SolrIndexer: deleting 2/2 documents
	2016-06-25 20:27:23,610 WARN  output.FileOutputCommitter - Output Path is null in cleanupJob()
	2016-06-25 20:27:23,611 WARN  mapred.LocalJobRunner - job_local1345410474_0001
	java.lang.Exception: java.lang.IllegalStateException: Connection pool shut down
	        at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462)
	        at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:529)
	Caused by: java.lang.IllegalStateException: Connection pool shut down
	        at org.apache.http.util.Asserts.check(Asserts.java:34)
	        at org.apache.http.pool.AbstractConnPool.lease(AbstractConnPool.java:169)
	        at org.apache.http.pool.AbstractConnPool.lease(AbstractConnPool.java:202)
{noformat}

Correct me if this exception doesn't fall under this issue.

> Clean not working after crawl
> -----------------------------
>
>                 Key: NUTCH-2269
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2269
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.12
>         Environment: Vagrant, Ubuntu, Java 8, Solr 4.10
>            Reporter: Francesco Capponi
>
> I'm have been having this problem for a while and I had to rollback using the old solr
clean instead of the newer version. 
> Once it inserts/update correctly every document in Nutch, when it tries to clean, it
returns error 255:
> {quote}
> 2016-05-30 10:13:04,992 WARN  output.FileOutputCommitter - Output Path is null in setupJob()
> 2016-05-30 10:13:07,284 INFO  indexer.IndexWriters - Adding org.apache.nutch.indexwriter.solr.SolrIndexWriter
> 2016-05-30 10:13:08,114 INFO  solr.SolrMappingReader - source: content dest: content
> 2016-05-30 10:13:08,114 INFO  solr.SolrMappingReader - source: title dest: title
> 2016-05-30 10:13:08,114 INFO  solr.SolrMappingReader - source: host dest: host
> 2016-05-30 10:13:08,114 INFO  solr.SolrMappingReader - source: segment dest: segment
> 2016-05-30 10:13:08,114 INFO  solr.SolrMappingReader - source: boost dest: boost
> 2016-05-30 10:13:08,114 INFO  solr.SolrMappingReader - source: digest dest: digest
> 2016-05-30 10:13:08,114 INFO  solr.SolrMappingReader - source: tstamp dest: tstamp
> 2016-05-30 10:13:08,133 INFO  solr.SolrIndexWriter - SolrIndexer: deleting 15/15 documents
> 2016-05-30 10:13:08,919 WARN  output.FileOutputCommitter - Output Path is null in cleanupJob()
> 2016-05-30 10:13:08,937 WARN  mapred.LocalJobRunner - job_local662730477_0001
> java.lang.Exception: java.lang.IllegalStateException: Connection pool shut down
> 	at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462)
> 	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:529)
> Caused by: java.lang.IllegalStateException: Connection pool shut down
> 	at org.apache.http.util.Asserts.check(Asserts.java:34)
> 	at org.apache.http.pool.AbstractConnPool.lease(AbstractConnPool.java:169)
> 	at org.apache.http.pool.AbstractConnPool.lease(AbstractConnPool.java:202)
> 	at org.apache.http.impl.conn.PoolingClientConnectionManager.requestConnection(PoolingClientConnectionManager.java:184)
> 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
> 	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
> 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
> 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
> 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
> 	at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:480)
> 	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:241)
> 	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:230)
> 	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:150)
> 	at org.apache.solr.client.solrj.SolrClient.commit(SolrClient.java:483)
> 	at org.apache.solr.client.solrj.SolrClient.commit(SolrClient.java:464)
> 	at org.apache.nutch.indexwriter.solr.SolrIndexWriter.commit(SolrIndexWriter.java:190)
> 	at org.apache.nutch.indexwriter.solr.SolrIndexWriter.close(SolrIndexWriter.java:178)
> 	at org.apache.nutch.indexer.IndexWriters.close(IndexWriters.java:115)
> 	at org.apache.nutch.indexer.CleaningJob$DeleterReducer.close(CleaningJob.java:120)
> 	at org.apache.hadoop.io.IOUtils.cleanup(IOUtils.java:237)
> 	at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:459)
> 	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:392)
> 	at org.apache.hadoop.mapred.LocalJobRunner$Job$ReduceTaskRunnable.run(LocalJobRunner.java:319)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:745)
> 2016-05-30 10:13:09,299 ERROR indexer.CleaningJob - CleaningJob: java.io.IOException:
Job failed!
> 	at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:836)
> 	at org.apache.nutch.indexer.CleaningJob.delete(CleaningJob.java:172)
> 	at org.apache.nutch.indexer.CleaningJob.run(CleaningJob.java:195)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> 	at org.apache.nutch.indexer.CleaningJob.main(CleaningJob.java:206)
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message