[ 
https://issues.apache.org/jira/browse/SPARK-36583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon resolved SPARK-36583.
----------------------------------
    Fix Version/s: 3.3.0
         Assignee: Yang Jie
       Resolution: Fixed

Fixed in https://github.com/apache/spark/pull/33831

> Upgrade commons-pool2 from 2.6.2 to 2.11.1
> ------------------------------------------
>
>                 Key: SPARK-36583
>                 URL: https://issues.apache.org/jira/browse/SPARK-36583
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build, Structured Streaming
>    Affects Versions: 3.3.0
>            Reporter: Yang Jie
>            Assignee: Yang Jie
>            Priority: Minor
>             Fix For: 3.3.0
>
>
> `2.11.1` is a Java 8 build version and `2.6.2` is still a Java 7 build 
> version.
> bug fix :
>  * DefaultPooledObject.getIdleTime() drops nanoseconds on Java 9 and greater
>  * POOL-361: Move validation for newly created objects into create(). Fixes 
> #23
>  * POOL-374: 
> org.apache.commons.pool2.impl.GenericKeyedObjectPool.returnObject(K, T) 
> should throw IllegalStateException instead of NullPointerException when a key 
> is not found in the pool map.
>  * POOL-376: Fixed regression from original fix for POOL-356 which could 
> result in NPE when destroying objects.
>  * POOL-326: Eliminated NPE / ISE exceptions due to keyed pools being 
> prematurely removed.
>  * Close BufferedOutputStream in test before calling toString on underlying 
> BufferedOutputStream #26.
>  * POOL-386: Refactored EvictionTimer usage tracking to fix POOL-386 and 
> handle abandoned pools. #32
>  * Make Duration setters use their respective default values when null
>  * Call swallowException(Exception) instead of printing exceptions to the 
> console in GenericKeyedObjectPool.removeAbandoned(AbandonedConfig) and 
> GenericObjectPool.removeAbandoned(AbandonedConfig)
>  * Getting a PooledObject's active duration returns a negative duration when 
> the object is borrowed but not returned



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to