Hoss Man created SOLR-8742:
------------------------------
Summary: HdfsDirectoryTest fails reliably after changes in
LUCENE-6932
Key: SOLR-8742
URL: https://issues.apache.org/jira/browse/SOLR-8742
Project: Solr
Issue Type: Bug
Reporter: Hoss Man
the following seed fails reliably for me on master...
{noformat}
[junit4] 2> 1370568 INFO
(TEST-HdfsDirectoryTest.testEOF-seed#[A0D22782D87E1CE2]) [ ]
o.a.s.SolrTestCaseJ4 ###Ending testEOF
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=HdfsDirectoryTest
-Dtests.method=testEOF -Dtests.seed=A0D22782D87E1CE2 -Dtests.slow=true
-Dtests.locale=es-PR -Dtests.timezone=Indian/Mauritius -Dtests.asserts=true
-Dtests.file.encoding=ISO-8859-1
[junit4] ERROR 0.13s J0 | HdfsDirectoryTest.testEOF <<<
[junit4] > Throwable #1: java.lang.NullPointerException
[junit4] > at
__randomizedtesting.SeedInfo.seed([A0D22782D87E1CE2:31B9658A9A5ABA9E]:0)
[junit4] > at
org.apache.lucene.store.RAMInputStream.readByte(RAMInputStream.java:69)
[junit4] > at
org.apache.solr.store.hdfs.HdfsDirectoryTest.testEof(HdfsDirectoryTest.java:159)
[junit4] > at
org.apache.solr.store.hdfs.HdfsDirectoryTest.testEOF(HdfsDirectoryTest.java:151)
[junit4] > at java.lang.Thread.run(Thread.java:745)
{noformat}
git bisect says this is the first commit where it started failing..
{noformat}
ddc65d977f920013c5fca16c8ac75ae2c6895f9d is the first bad commit
commit ddc65d977f920013c5fca16c8ac75ae2c6895f9d
Author: Michael McCandless <[email protected]>
Date: Thu Jan 21 17:50:28 2016 +0000
LUCENE-6932: RAMInputStream now throws EOFException if you seek beyond the
end of the file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726039
13f79535-47bb-0310-9956-ffa450edef68
{noformat}
...which seems remarkable relevant and likely to indicate a problem that needs
fixed in the HdfsDirectory code (or perhaps just the test)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]