David Smiley created SOLR-18007:
-----------------------------------

             Summary: AnalyzingSuggester can throw NoSuchFileException
                 Key: SOLR-18007
                 URL: https://issues.apache.org/jira/browse/SOLR-18007
             Project: Solr
          Issue Type: Bug
          Components: Suggester
    Affects Versions: 10.0
            Reporter: David Smiley


I found a test failure on CI.  It didn't reproduce for me, but both the failure 
and my local passing test, *both* showed NoSuchFileException originating out of 
Lucene code.  This ought to be investigated, perhaps using {{git bisect}} along 
with a test change to ensure no such exceptions logged.

{noformat}
3486 ERROR (searcherExecutor-16-thread-1-processing-collection1) [n: c: s: r: 
x:collection1 t:] o.a.s.h.c.SpellCheckComponent Exception in reloading spell 
check index for spellchecker: fuzzy_suggest_analyzing_with_non_fuzzy_prefix_4
          => java.nio.file.NoSuchFileException: 
/Users/dsmiley/DevSearch/solr_main/build/tmp/tests-tmp/org.apache.solr.spelling.suggest.TestAnalyzedSuggestions_F4705FFCBF86776-001/data-dir-1-001/fuzzy_suggest_analyzing_with_non_fuzzy_prefix_4/fwfsta.bin
        at 
java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
java.nio.file.NoSuchFileException: 
/Users/dsmiley/DevSearch/solr_main/build/tmp/tests-tmp/org.apache.solr.spelling.suggest.TestAnalyzedSuggestions_F4705FFCBF86776-001/data-dir-1-001/fuzzy_suggest_analyzing_with_non_fuzzy_prefix_4/fwfsta.bin
        at 
java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
 ~[?:?]
        at 
java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) 
~[?:?]
        at 
java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) 
~[?:?]
        at 
java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:261)
 ~[?:?]
        at java.base/java.nio.file.Files.newByteChannel(Files.java:379) ~[?:?]
        at java.base/java.nio.file.Files.newByteChannel(Files.java:431) ~[?:?]
        at 
java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
 ~[?:?]
        at java.base/java.nio.file.Files.newInputStream(Files.java:159) ~[?:?]
{noformat}

{{./gradlew :solr:core:test --tests 
"org.apache.solr.spelling.suggest.TestAnalyzedSuggestions" 
"-Ptests.jvmargs=-XX:TieredStopAtLevel=1 -XX:+UseParallelGC 
-XX:ActiveProcessorCount=1 -XX:ReservedCodeCacheSize=120m" 
-Ptests.seed=F4705FFCBF86776 -Ptests.timeoutSuite=600000! 
-Ptests.useSecurityManager=true -Ptests.file.encoding=UTF-8}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to