You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2012/05/19 09:02:10 UTC

[jira] [Created] (LUCENE-4070) TestIndexWriter.testThreadInterruptDeadlock failure

Simon Willnauer created LUCENE-4070:
---------------------------------------

             Summary: TestIndexWriter.testThreadInterruptDeadlock failure
                 Key: LUCENE-4070
                 URL: https://issues.apache.org/jira/browse/LUCENE-4070
             Project: Lucene - Java
          Issue Type: Bug
          Components: core/store
    Affects Versions: 4.0
            Reporter: Simon Willnauer
            Assignee: Simon Willnauer
             Fix For: 4.0




--
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


[jira] [Resolved] (LUCENE-4070) TestIndexWriter.testThreadInterruptDeadlock failure

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

Simon Willnauer resolved LUCENE-4070.
-------------------------------------

    Resolution: Fixed

committed to trunk
                
> TestIndexWriter.testThreadInterruptDeadlock failure
> ---------------------------------------------------
>
>                 Key: LUCENE-4070
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4070
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/store
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-4070.patch
>
>


--
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


[jira] [Updated] (LUCENE-4070) TestIndexWriter.testThreadInterruptDeadlock failure

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

Simon Willnauer updated LUCENE-4070:
------------------------------------

    Lucene Fields: New,Patch Available  (was: New)
    
> TestIndexWriter.testThreadInterruptDeadlock failure
> ---------------------------------------------------
>
>                 Key: LUCENE-4070
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4070
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/store
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-4070.patch
>
>


--
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


[jira] [Commented] (LUCENE-4070) TestIndexWriter.testThreadInterruptDeadlock failure

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279463#comment-13279463 ] 

Simon Willnauer commented on LUCENE-4070:
-----------------------------------------

TestIndexWriter.testThreadInterruptDeadlock failed on jenkins with this error:

{code}
FAILED; unexpected exception
java.io.IOException: file "_1o.cfs" was already written to
	at org.apache.lucene.store.MockDirectoryWrapper.createOutput(MockDirectoryWrapper.java:437)
	at org.apache.lucene.store.CompoundFileWriter.getOutput(CompoundFileWriter.java:124)
	at org.apache.lucene.store.CompoundFileWriter.close(CompoundFileWriter.java:166)
	at org.apache.lucene.store.CompoundFileDirectory.close(CompoundFileDirectory.java:235)
	at org.apache.lucene.util.IOUtils.closeWhileHandlingException(IOUtils.java:80)
	at org.apache.lucene.index.IndexWriter.prepareFlushedSegment(IndexWriter.java:1983)
	at org.apache.lucene.index.DocumentsWriter.publishFlushedSegment(DocumentsWriter.java:497)
	at org.apache.lucene.index.DocumentsWriter.finishFlush(DocumentsWriter.java:477)
	at org.apache.lucene.index.DocumentsWriterFlushQueue$SegmentFlushTicket.publish(DocumentsWriterFlushQueue.java:201)
	at org.apache.lucene.index.DocumentsWriterFlushQueue.innerPurge(DocumentsWriterFlushQueue.java:119)
	at org.apache.lucene.index.DocumentsWriterFlushQueue.tryPurge(DocumentsWriterFlushQueue.java:148)
	at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:438)
	at org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:553)
	at org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:2416)
	at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2548)
	at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2530)
	at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2514)
	at org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1072)

reproduce with: ant test -Dtestcase=TestIndexWriter -Dtests.method=testThreadInterruptDeadlock -Dtests.seed=4DBD057B5EE19CD9 -Dtests.locale=es_GT -Dtests.timezone=US/Eastern -Dtests.multiplier=3 -Dargs="-Dfile.encoding=UTF-8"
{code}

this seems caused by a deferred assignment in the CFS writer when opening the output stream
                
> TestIndexWriter.testThreadInterruptDeadlock failure
> ---------------------------------------------------
>
>                 Key: LUCENE-4070
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4070
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/store
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-4070.patch
>
>


--
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


[jira] [Updated] (LUCENE-4070) TestIndexWriter.testThreadInterruptDeadlock failure

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

Simon Willnauer updated LUCENE-4070:
------------------------------------

    Attachment: LUCENE-4070.patch

here is a possible patch
                
> TestIndexWriter.testThreadInterruptDeadlock failure
> ---------------------------------------------------
>
>                 Key: LUCENE-4070
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4070
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/store
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-4070.patch
>
>


--
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


[jira] [Commented] (LUCENE-4070) TestIndexWriter.testThreadInterruptDeadlock failure

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279521#comment-13279521 ] 

Robert Muir commented on LUCENE-4070:
-------------------------------------

+1
                
> TestIndexWriter.testThreadInterruptDeadlock failure
> ---------------------------------------------------
>
>                 Key: LUCENE-4070
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4070
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/store
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>
>         Attachments: LUCENE-4070.patch
>
>


--
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