Shixiong Zhu created SPARK-11999:
------------------------------------

             Summary: ThreadUtils.newDaemonCachedThreadPool(prefix, 
maxThreadNumber)  has unexpected behavior
                 Key: SPARK-11999
                 URL: https://issues.apache.org/jira/browse/SPARK-11999
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 1.5.2, 1.4.1, 1.6.0
            Reporter: Shixiong Zhu


Currently, ThreadUtils.newDaemonCachedThreadPool(prefix, maxThreadNumber) will 
throw RejectedExecutionException, if there are already `maxThreadNumber` busy 
threads and we submit a new task. It's because `SynchronousQueue` cannot cache 
any task.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to