You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2017/02/08 15:54:41 UTC

[jira] [Commented] (SOLR-10098) HdfsThreadLeakTest and HdfsRecoverLeaseTest can leak threads

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

Mark Miller commented on SOLR-10098:
------------------------------------

I think this is because so many tests are running and some of the hdfs test stuff fires up netty each time and there seems to be some random exhaustion due to it's secure random use.
{noformat}
   [junit4]    > Throwable #1: com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from SUITE scope at org.apache.solr.cloud.hdfs.HdfsThreadLeakTest: 
   [junit4]    >    1) Thread[id=112, name=initialSeedUniquifierGenerator, state=RUNNABLE, group=TGRP-HdfsThreadLeakTest]
   [junit4]    >         at java.io.FileInputStream.readBytes(Native Method)
   [junit4]    >         at java.io.FileInputStream.read(FileInputStream.java:255)
   [junit4]    >         at sun.security.provider.NativePRNG$RandomIO.readFully(NativePRNG.java:424)
   [junit4]    >         at sun.security.provider.NativePRNG$RandomIO.implGenerateSeed(NativePRNG.java:441)
   [junit4]    >         at sun.security.provider.NativePRNG$RandomIO.access$500(NativePRNG.java:331)
   [junit4]    >         at sun.security.provider.NativePRNG.engineGenerateSeed(NativePRNG.java:226)
   [junit4]    >         at java.security.SecureRandom.generateSeed(SecureRandom.java:533)
   [junit4]    >         at io.netty.util.internal.ThreadLocalRandom$1.run(ThreadLocalRandom.java:91)
{noformat}

> HdfsThreadLeakTest and HdfsRecoverLeaseTest can leak threads
> ------------------------------------------------------------
>
>                 Key: SOLR-10098
>                 URL: https://issues.apache.org/jira/browse/SOLR-10098
>             Project: Solr
>          Issue Type: Test
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>         Attachments: stdout
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org