[ 
https://issues.apache.org/jira/browse/SOLR-9284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15670479#comment-15670479
 ] 

Steve Rowe commented on SOLR-9284:
----------------------------------

Three more seeds, but none reproduce for me - note that all three include an 
NPE as a second Throwable, which I just noticed in the trace in my previous 
comment here:

>From [https://builds.apache.org/job/Lucene-Solr-SmokeRelease-6.x/182]:

{noformat}
  [smoker]    [junit4]   2> NOTE: reproduce with: ant test  
-Dtestcase=BlockDirectoryTest -Dtests.method=testEOF 
-Dtests.seed=9A2D36FC5487E440 -Dtests.multiplier=2 -Dtests.locale=hi 
-Dtests.timezone=America/North_Dakota/Beulah -Dtests.asserts=true 
-Dtests.file.encoding=ISO-8859-1
   [smoker]    [junit4] ERROR   1.66s J1 | BlockDirectoryTest.testEOF <<<
   [smoker]    [junit4]    > Throwable #1: java.lang.OutOfMemoryError: Direct 
buffer memory
   [smoker]    [junit4]    >    at java.nio.Bits.reserveMemory(Bits.java:693)
   [smoker]    [junit4]    >    at 
java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
   [smoker]    [junit4]    >    at 
java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)
   [smoker]    [junit4]    >    at 
org.apache.solr.store.blockcache.BlockCache.<init>(BlockCache.java:68)
   [smoker]    [junit4]    >    at 
org.apache.solr.store.blockcache.BlockDirectoryTest.setUp(BlockDirectoryTest.java:119)
   [smoker]    [junit4]    >    at 
java.lang.Thread.run(Thread.java:745)Throwable #2: 
java.lang.NullPointerException
   [smoker]    [junit4]    >    at 
org.apache.solr.store.blockcache.BlockDirectoryTest.tearDown(BlockDirectoryTest.java:131)
{noformat}

>From my Jenkins on branch_6.x:

{noformat}
  [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=BlockDirectoryTest 
-Dtests.method=testRandomAccessWritesLargeCache -Dtests.seed=79BD96B775734799 
-Dtests.slow=true -Dtests.locale=ar-TN -Dtests.timezone=Europe/Lisbon 
-Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
  [junit4] ERROR   1.95s J7  | 
BlockDirectoryTest.testRandomAccessWritesLargeCache <<<
  [junit4]    > Throwable #1: java.lang.OutOfMemoryError: Direct buffer memory
  [junit4]    >         at java.nio.Bits.reserveMemory(Bits.java:693)
  [junit4]    >         at 
java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
  [junit4]    >         at 
java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)
  [junit4]    >         at 
org.apache.solr.store.blockcache.BlockCache.<init>(BlockCache.java:68)
  [junit4]    >         at 
org.apache.solr.store.blockcache.BlockDirectoryTest.setUp(BlockDirectoryTest.java:119)
  [junit4]    >         at java.lang.Thread.run(Thread.java:745)Throwable #2: 
java.lang.NullPointerException
  [junit4]    >         at 
org.apache.solr.store.blockcache.BlockDirectoryTest.tearDown(BlockDirectoryTest.java:131)
{noformat}

And from my Jenkins on master:

{noformat}
  [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=BlockDirectoryTest 
-Dtests.method=testRandomAccessWrites -Dtests.seed=39545A949FB2DD31 
-Dtests.slow=true -Dtests.locale=sr-ME -Dtests.timezone=America/Indiana/Vevay 
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
  [junit4] ERROR   0.86s J7  | BlockDirectoryTest.testRandomAccessWrites <<<
  [junit4]    > Throwable #1: java.lang.OutOfMemoryError: Direct buffer memory
  [junit4]    >         at java.nio.Bits.reserveMemory(Bits.java:693)
  [junit4]    >         at 
java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
  [junit4]    >         at 
java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)
  [junit4]    >         at 
org.apache.solr.store.blockcache.BlockCache.<init>(BlockCache.java:68)
  [junit4]    >         at 
org.apache.solr.store.blockcache.BlockDirectoryTest.setUp(BlockDirectoryTest.java:119)
  [junit4]    >         at java.lang.Thread.run(Thread.java:745)Throwable #2: 
java.lang.NullPointerException
  [junit4]    >         at 
org.apache.solr.store.blockcache.BlockDirectoryTest.tearDown(BlockDirectoryTest.java:131)
{noformat}

> The HDFS BlockDirectoryCache should not let it's keysToRelease or names maps 
> grow indefinitely.
> -----------------------------------------------------------------------------------------------
>
>                 Key: SOLR-9284
>                 URL: https://issues.apache.org/jira/browse/SOLR-9284
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: hdfs
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: master (7.0), 6.4
>
>         Attachments: SOLR-9284.patch, SOLR-9284.patch
>
>
> https://issues.apache.org/jira/browse/SOLR-9284



--
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

Reply via email to