Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 75D1DCBAA for ; Tue, 29 May 2012 17:28:26 +0000 (UTC) Received: (qmail 95107 invoked by uid 500); 29 May 2012 17:28:23 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 95039 invoked by uid 500); 29 May 2012 17:28:23 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 94979 invoked by uid 99); 29 May 2012 17:28:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 May 2012 17:28:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 6BFC8142858 for ; Tue, 29 May 2012 17:28:23 +0000 (UTC) Date: Tue, 29 May 2012 17:28:23 +0000 (UTC) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Message-ID: <2008951574.11934.1338312503444.JavaMail.jiratomcat@issues-vm> In-Reply-To: <2007780591.11932.1338312503370.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (LUCENE-4084) unable to generate a 4.x back compat test index MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284948#comment-13284948 ] Robert Muir commented on LUCENE-4084: ------------------------------------- {noformat} [junit4] ERROR 0.23s | TestBackwardsCompatibility.testCreateCFS [junit4] > Throwable #1: org.apache.lucene.util.SetOnce$AlreadySetException: The object cannot be set twice! [junit4] > at __randomizedtesting.SeedInfo.seed([2ADDAAF27DE7C63D:38D013F5650FDD60]:0) [junit4] > at org.apache.lucene.util.SetOnce.set(SetOnce.java:69) [junit4] > at org.apache.lucene.index.DocumentsWriterPerThreadPool.initialize(DocumentsWriterPerThreadPool.java:139) [junit4] > at org.apache.lucene.index.DocumentsWriter.(DocumentsWriter.java:145) [junit4] > at org.apache.lucene.index.IndexWriter.(IndexWriter.java:668) [junit4] > at org.apache.lucene.index.TestBackwardsCompatibility.createIndex(TestBackwardsCompatibility.java:464) [junit4] > at org.apache.lucene.index.TestBackwardsCompatibility.testCreateCFS(TestBackwardsCompatibility.java:78) {noformat} > unable to generate a 4.x back compat test index > ----------------------------------------------- > > Key: LUCENE-4084 > URL: https://issues.apache.org/jira/browse/LUCENE-4084 > Project: Lucene - Java > Issue Type: Bug > Components: core/index > Reporter: Robert Muir > Fix For: 4.0 > > > It seems the issue is an IWC cannot be used across 2 different indexwriters, because the DWPTThreadPool is created on the IndexWriterConfig, and you hit a SetOnce exception... seems like the exception is correct and it would be bad to have two indexwriters sharing the same DWPTThreadPool? > stacktrace to follow in a comment. -- 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