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

Kevin Risden commented on SOLR-9515:
------------------------------------

Well setting that key to 0 results in the following.
{code:java}
<error message="Captured an uncaught exception in thread: Thread[id=226, 
name=Thread-111, state=RUNNABLE, group=TGRP-HdfsRecoverLeaseTest]" 
type="com.carrotsearch.randomizedtesting.UncaughtExceptionError">com.carrotsearch.randomizedtesting.UncaughtExceptionError:
 Captured an uncaught exception in thread: Thread[id=226, name=Thread-111, 
state=RUNNABLE, group=TGRP-HdfsRecoverLeaseTest]
Caused by: java.lang.IllegalArgumentException
at __randomizedtesting.SeedInfo.seed([B3EBC148FC827CD8]:0)
at 
java.base/java.util.concurrent.ForkJoinPool.&lt;init&gt;(ForkJoinPool.java:2295)
at 
java.base/java.util.concurrent.ForkJoinPool.&lt;init&gt;(ForkJoinPool.java:2165)
at 
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.BlockPoolSlice.initializeAddReplicaPool(BlockPoolSlice.java:213)
at 
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.BlockPoolSlice.&lt;init&gt;(BlockPoolSlice.java:188)
at 
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeImpl.addBlockPool(FsVolumeImpl.java:1041)
at 
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeImpl.addBlockPool(FsVolumeImpl.java:1033)
at 
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeList$2.run(FsVolumeList.java:412)
{code}
Definitely didn't work. From the ForkJoinPool javadocs:

@throws IllegalArgumentException if parallelism less than or equal to zero, or 
greater than implementation limit

So yea not sure how to work around this.

> Update to Hadoop 3
> ------------------
>
>                 Key: SOLR-9515
>                 URL: https://issues.apache.org/jira/browse/SOLR-9515
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mark Miller
>            Assignee: Kevin Risden
>            Priority: Blocker
>             Fix For: 8.0, master (9.0)
>
>         Attachments: SOLR-9515.patch, SOLR-9515.patch, SOLR-9515.patch, 
> SOLR-9515.patch, SOLR-9515.patch, SOLR-9515.patch
>
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>
> Hadoop 3 is not out yet, but I'd like to iron out the upgrade to be prepared. 
> I'll start up a dev branch.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to