You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "James Dyer (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/28 20:45:29 UTC
[jira] [Resolved] (SOLR-2804) Logging error causes entire DIH
process to fail
[ https://issues.apache.org/jira/browse/SOLR-2804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Dyer resolved SOLR-2804.
------------------------------
Resolution: Won't Fix
The "threads" feature was removed from DIH in Trunk/4.x (see SOLR-3262). Some "threads" bugs were fixed in version 3.6, the last release in which "threads" is available. (see SOLR-3011).
To work around this issue with Solr 3.6, set the LogUpdateProcessorFactory level below "INFO". (See comments on this issue for more information.)
> Logging error causes entire DIH process to fail
> -----------------------------------------------
>
> Key: SOLR-2804
> URL: https://issues.apache.org/jira/browse/SOLR-2804
> Project: Solr
> Issue Type: Bug
> Components: contrib - DataImportHandler
> Affects Versions: 4.0
> Environment: java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425)
> Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)
> Model Name: MacBook Pro
> Model Identifier: MacBookPro8,2
> Processor Name: Intel Core i7
> Processor Speed: 2.2 GHz
> Number of Processors: 1
> Total Number of Cores: 4
> L2 Cache (per Core): 256 KB
> L3 Cache: 6 MB
> Memory: 4 GB
> System Software Overview:
> System Version: Mac OS X 10.6.8 (10K549)
> Kernel Version: Darwin 10.8.0
> Reporter: Pulkit Singhal
> Labels: dih
> Attachments: SOLR-2804-3x.patch, SOLR-2804.patch, SOLR-2804.patch
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> SEVERE: Full Import failed:java.lang.ClassCastException:
> java.util.ArrayList cannot be cast to java.lang.String
> at org.apache.solr.common.util.NamedList.getName(NamedList.java:127)
> at org.apache.solr.common.util.NamedList.toString(NamedList.java:263)
> at java.lang.String.valueOf(String.java:2826)
> at java.lang.StringBuilder.append(StringBuilder.java:115)
> at org.apache.solr.update.processor.LogUpdateProcessor.finish(LogUpdateProcessorFactory.java:188)
> at org.apache.solr.handler.dataimport.SolrWriter.close(SolrWriter.java:57)
> at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:265)
> at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:372)
> at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:440)
> at org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:421)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org