[jira] Commented: (SOLR-1352) DIH: MultiThreaded

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] Commented: (SOLR-1352) DIH: MultiThreaded

Sebastian Nagel (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893264#action_12893264 ]

Russell Teabeault commented on SOLR-1352:

I believe there have been some incompatible changes that have been made and so it is not as easy as just dropping in the DIH jar.  I took the 1.4 war and replaced the DIH jar with a current build of the 1.5 DIH jar.  When accessing the dataimport.jsp file I got the following error:


java.lang.AbstractMethodError: org.apache.solr.handler.RequestHandlerBase.handleRequestBody(Lorg/apache/solr/request/SolrQueryRequest;Lorg/apache/solr/request/SolrQueryResponse;)V
        at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)

Any ideas?  Thanks.

> DIH: MultiThreaded
> ------------------
>                 Key: SOLR-1352
>                 URL: https://issues.apache.org/jira/browse/SOLR-1352
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>             Fix For: 1.5
>         Attachments: SOLR-1352.patch, SOLR-1352.patch, SOLR-1352.patch
> It has been a long pending request to make DIH multithreaded. Now that we have implemented most of the features , the next best thing we can aim for is performance. DIH should be able to take advantage of multiple cores in a box .I expect the configuration to be as follows
> {code:xml}
> <entity name="foo" threads="4">
> <!--more stuff goes here-->
> </entity>
> {code}
> at the entity where the threads is specified it should fork into multiple threads. If the threads<2 it executes w/o forking. In debug mode it automatically becomes singlethreaded.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]