You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Michael Henson (JIRA)" <ji...@apache.org> on 2010/02/10 03:38:27 UTC

[jira] Created: (SOLR-1766) DIH with threads enabled doesn't respond to the abort command

DIH with threads enabled doesn't respond to the abort command
-------------------------------------------------------------

                 Key: SOLR-1766
                 URL: https://issues.apache.org/jira/browse/SOLR-1766
             Project: Solr
          Issue Type: Bug
          Components: contrib - DataImportHandler
    Affects Versions: 1.5
         Environment: tomcat 6.x,  jdk 1.6.x, windows and linux
            Reporter: Michael Henson
             Fix For: 1.5


When the multithreaded entity processor is enabled by adding the threads="x" attribute to an entity, the thread runner code doesn't check the status of the abort flag. The process continues to run after the abort command is given.

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


[jira] Assigned: (SOLR-1766) DIH with threads enabled doesn't respond to the abort command

Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul reassigned SOLR-1766:
--------------------------------

    Assignee: Noble Paul

> DIH with threads enabled doesn't respond to the abort command
> -------------------------------------------------------------
>
>                 Key: SOLR-1766
>                 URL: https://issues.apache.org/jira/browse/SOLR-1766
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.5
>         Environment: tomcat 6.x,  jdk 1.6.x, windows and linux
>            Reporter: Michael Henson
>            Assignee: Noble Paul
>             Fix For: 1.5
>
>         Attachments: solr-1766.patch
>
>
> When the multithreaded entity processor is enabled by adding the threads="x" attribute to an entity, the thread runner code doesn't check the status of the abort flag. The process continues to run after the abort command is given.

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


[jira] Resolved: (SOLR-1766) DIH with threads enabled doesn't respond to the abort command

Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul resolved SOLR-1766.
------------------------------

    Resolution: Fixed

committed r908355

Thanks Michael Henson

> DIH with threads enabled doesn't respond to the abort command
> -------------------------------------------------------------
>
>                 Key: SOLR-1766
>                 URL: https://issues.apache.org/jira/browse/SOLR-1766
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.5
>         Environment: tomcat 6.x,  jdk 1.6.x, windows and linux
>            Reporter: Michael Henson
>            Assignee: Noble Paul
>             Fix For: 1.5
>
>         Attachments: solr-1766.patch
>
>
> When the multithreaded entity processor is enabled by adding the threads="x" attribute to an entity, the thread runner code doesn't check the status of the abort flag. The process continues to run after the abort command is given.

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


[jira] Updated: (SOLR-1766) DIH with threads enabled doesn't respond to the abort command

Posted by "Michael Henson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Henson updated SOLR-1766:
---------------------------------

    Attachment: solr-1766.patch

Simply adding a test for the status of the abort tag here seems to work.

> DIH with threads enabled doesn't respond to the abort command
> -------------------------------------------------------------
>
>                 Key: SOLR-1766
>                 URL: https://issues.apache.org/jira/browse/SOLR-1766
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.5
>         Environment: tomcat 6.x,  jdk 1.6.x, windows and linux
>            Reporter: Michael Henson
>             Fix For: 1.5
>
>         Attachments: solr-1766.patch
>
>
> When the multithreaded entity processor is enabled by adding the threads="x" attribute to an entity, the thread runner code doesn't check the status of the abort flag. The process continues to run after the abort command is given.

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