You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Eric Martin <er...@makethembite.com> on 2010/11/14 07:35:57 UTC

Switched to Tomcat

Hello,

 

I switched from Jetty to Tomcat. I have a Solr instance running and I can go
to localhost:8080/solr/admin. My job runs until the end and I get:

 

2010-11-14 00:33:07,736 WARN  mapred.LocalJobRunner - job_local_0001

org.apache.solr.common.SolrException: Internal Server Error

 

Internal Server Error

 

request: http://localhost:8080/solr/update?wt=javabin&amp;version=1

                at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpS
olrServer.java:424)

                at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpS
olrServer.java:243)

                at
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractU
pdateRequest.java:105)

                at
org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:49)

                at
org.apache.nutch.indexer.solr.SolrWriter.close(SolrWriter.java:75)

                at
org.apache.nutch.indexer.IndexerOutputFormat$1.close(IndexerOutputFormat.jav
a:48)

                at
org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:474)

                at
org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:411)

                at
org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:216)

2010-11-14 00:33:07,838 ERROR solr.SolrIndexer - java.io.IOException: Job
failed!

 

 

Then it breaks. Any ideas?

 

Thanks


Re: Switched to Tomcat

Posted by Robert Douglass <ro...@robshouse.net>.
Is this related? 
http://mostrey.be/configuring-tomcat-provide-utf-8-support-solr
(UTF 8 isn't guaranteed by Tomcat - you need to make it explicit)

On 11/14/2010 09:51 AM, Eric Martin wrote:
> Thanks, I went back and took a look and restarted the server. Apparently I
> have more issues than I though and looks like it is outside the scope of the
> nutch group. IT appears that my Solr installation is not configured
> correctly for Tomcat. Since this isn't a Solr mailing list, if you want to
> help we should probably email offline about it.
>
> Either way it's cool. I appreciate your effort!
>
> -----Original Message-----
> From: Matthias Paul [mailto:magethle.nutch@gmail.com]
> Sent: Sunday, November 14, 2010 12:42 AM
> To: user@nutch.apache.org
> Subject: Re: Switched to Tomcat
>
> Perhaps you are sending a field to Solr which you didn't configure in Solr?
> Then the SolrIndexer will break.
> Set the loggers to debug and have a look at your log-files.
>
> Matthias
>
> On Sun, Nov 14, 2010 at 7:35 AM, Eric Martin<er...@makethembite.com>  wrote:
>
>> Hello,
>>
>>
>>
>> I switched from Jetty to Tomcat. I have a Solr instance running and I can
>> go
>> to localhost:8080/solr/admin. My job runs until the end and I get:
>>
>>
>>
>> 2010-11-14 00:33:07,736 WARN  mapred.LocalJobRunner - job_local_0001
>>
>> org.apache.solr.common.SolrException: Internal Server Error
>>
>>
>>
>> Internal Server Error
>>
>>
>>
>> request: http://localhost:8080/solr/update?wt=javabin&amp;version=1
>>
>>                 at
>>
>>
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpS
>> olrServer.java:424)
>>
>>                 at
>>
>>
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpS
>> olrServer.java:243)
>>
>>                 at
>>
>>
> org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractU
>> pdateRequest.java:105)
>>
>>                 at
>> org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:49)
>>
>>                 at
>> org.apache.nutch.indexer.solr.SolrWriter.close(SolrWriter.java:75)
>>
>>                 at
>>
>>
> org.apache.nutch.indexer.IndexerOutputFormat$1.close(IndexerOutputFormat.jav
>> a:48)
>>
>>                 at
>> org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:474)
>>
>>                 at
>> org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:411)
>>
>>                 at
>> org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:216)
>>
>> 2010-11-14 00:33:07,838 ERROR solr.SolrIndexer - java.io.IOException: Job
>> failed!
>>
>>
>>
>>
>>
>> Then it breaks. Any ideas?
>>
>>
>>
>> Thanks
>>
>>
>


RE: Switched to Tomcat

Posted by Eric Martin <er...@makethembite.com>.
Thanks, I went back and took a look and restarted the server. Apparently I
have more issues than I though and looks like it is outside the scope of the
nutch group. IT appears that my Solr installation is not configured
correctly for Tomcat. Since this isn't a Solr mailing list, if you want to
help we should probably email offline about it.

Either way it's cool. I appreciate your effort!

-----Original Message-----
From: Matthias Paul [mailto:magethle.nutch@gmail.com] 
Sent: Sunday, November 14, 2010 12:42 AM
To: user@nutch.apache.org
Subject: Re: Switched to Tomcat

Perhaps you are sending a field to Solr which you didn't configure in Solr?
Then the SolrIndexer will break.
Set the loggers to debug and have a look at your log-files.

Matthias

On Sun, Nov 14, 2010 at 7:35 AM, Eric Martin <er...@makethembite.com> wrote:

> Hello,
>
>
>
> I switched from Jetty to Tomcat. I have a Solr instance running and I can
> go
> to localhost:8080/solr/admin. My job runs until the end and I get:
>
>
>
> 2010-11-14 00:33:07,736 WARN  mapred.LocalJobRunner - job_local_0001
>
> org.apache.solr.common.SolrException: Internal Server Error
>
>
>
> Internal Server Error
>
>
>
> request: http://localhost:8080/solr/update?wt=javabin&amp;version=1
>
>                at
>
>
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpS
> olrServer.java:424)
>
>                at
>
>
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpS
> olrServer.java:243)
>
>                at
>
>
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractU
> pdateRequest.java:105)
>
>                at
> org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:49)
>
>                at
> org.apache.nutch.indexer.solr.SolrWriter.close(SolrWriter.java:75)
>
>                at
>
>
org.apache.nutch.indexer.IndexerOutputFormat$1.close(IndexerOutputFormat.jav
> a:48)
>
>                at
> org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:474)
>
>                at
> org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:411)
>
>                at
> org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:216)
>
> 2010-11-14 00:33:07,838 ERROR solr.SolrIndexer - java.io.IOException: Job
> failed!
>
>
>
>
>
> Then it breaks. Any ideas?
>
>
>
> Thanks
>
>


Re: Switched to Tomcat

Posted by Matthias Paul <ma...@gmail.com>.
Perhaps you are sending a field to Solr which you didn't configure in Solr?
Then the SolrIndexer will break.
Set the loggers to debug and have a look at your log-files.

Matthias

On Sun, Nov 14, 2010 at 7:35 AM, Eric Martin <er...@makethembite.com> wrote:

> Hello,
>
>
>
> I switched from Jetty to Tomcat. I have a Solr instance running and I can
> go
> to localhost:8080/solr/admin. My job runs until the end and I get:
>
>
>
> 2010-11-14 00:33:07,736 WARN  mapred.LocalJobRunner - job_local_0001
>
> org.apache.solr.common.SolrException: Internal Server Error
>
>
>
> Internal Server Error
>
>
>
> request: http://localhost:8080/solr/update?wt=javabin&amp;version=1
>
>                at
>
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpS
> olrServer.java:424)
>
>                at
>
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpS
> olrServer.java:243)
>
>                at
>
> org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractU
> pdateRequest.java:105)
>
>                at
> org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:49)
>
>                at
> org.apache.nutch.indexer.solr.SolrWriter.close(SolrWriter.java:75)
>
>                at
>
> org.apache.nutch.indexer.IndexerOutputFormat$1.close(IndexerOutputFormat.jav
> a:48)
>
>                at
> org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:474)
>
>                at
> org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:411)
>
>                at
> org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:216)
>
> 2010-11-14 00:33:07,838 ERROR solr.SolrIndexer - java.io.IOException: Job
> failed!
>
>
>
>
>
> Then it breaks. Any ideas?
>
>
>
> Thanks
>
>