[ https://issues.apache.org/jira/browse/SOLR-8742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197616#comment-15197616 ]
Mark Miller commented on SOLR-8742: ----------------------------------- Also, this is using raw RAMInputStream in this case - nothing HDFS specific in this fail. > 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 <mikemcc...@apache.org> > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org