[
https://issues.apache.org/jira/browse/LUCENE-6957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15085524#comment-15085524
]
Steve Rowe commented on LUCENE-6957:
------------------------------------
Looks like this change might be implicated in a reproducible fail found by
Policeman Jenkins
[http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/15456/]?:
{noformat}
[junit4] Suite: org.apache.lucene.search.suggest.TestInputIterator
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestInputIterator
-Dtests.method=testTerms -Dtests.seed=69B1CC8C7D0DECB3 -Dtests.multiplier=3
-Dtests.slow=true -Dtests.locale=sr_ME_#Latn
-Dtests.timezone=Australia/Canberra -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] ERROR 0.57s J0 | TestInputIterator.testTerms <<<
[junit4] > Throwable #1: java.io.FileNotFoundException:
sorted_input_0.tmp in dir=NRTCachingDirectory(RAMDirectory@2d9f5a20
lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@151e3d67;
maxCacheMB=0.7294921875 maxMergeSizeMB=0.4765625)
[junit4] > at
__randomizedtesting.SeedInfo.seed([69B1CC8C7D0DECB3:C5033CBEB96632A1]:0)
[junit4] > at
org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:677)
[junit4] > at
org.apache.lucene.util.OfflineSorter.sort(OfflineSorter.java:240)
[junit4] > at
org.apache.lucene.search.suggest.SortedInputIterator.sort(SortedInputIterator.java:191)
[junit4] > at
org.apache.lucene.search.suggest.SortedInputIterator.<init>(SortedInputIterator.java:79)
[junit4] > at
org.apache.lucene.search.suggest.TestInputIterator.testTerms(TestInputIterator.java:85)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] 2> NOTE: test params are: codec=Asserting(Lucene60): {},
docValues:{}, sim=RandomSimilarityProvider(queryNorm=true,coord=yes): {},
locale=sr_ME_#Latn, timezone=Australia/Canberra
[junit4] 2> NOTE: Linux 3.19.0-42-generic amd64/Oracle Corporation
1.8.0_66 (64-bit)/cpus=12,threads=1,free=383372608,total=508887040
[junit4] 2> NOTE: All tests run in this JVM: [TestNGramDistance,
TestSuggestField, DocumentDictionaryTest, TestLuceneDictionary,
CompletionTokenStreamTest, TestSpellChecker, FSTCompletionTest,
TestDirectSpellChecker, TestPlainTextDictionary, TestHighFrequencyDictionary,
TestJaroWinklerDistance, TestInputIterator]
[junit4] Completed [20/32 (1!)] on J0 in 0.58s, 2 tests, 1 error <<<
FAILURES!
{noformat}
> NRTCachingDirectory is missing createTempOutput
> -----------------------------------------------
>
> Key: LUCENE-6957
> URL: https://issues.apache.org/jira/browse/LUCENE-6957
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: Trunk
>
> Attachments: LUCENE-6957.patch, LUCENE-6957.patch
>
>
> It's broken now because it simply delegates to the wrapped dir now,
> which can create an output that already exists in the ram dir cache.
> This bug only affects trunk (it's never been released).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]