You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2021/08/25 09:08:00 UTC
[jira] [Created] (SPARK-36583) Upgrade commons-pool2 from 2.6.2 to
2.11.1
Yang Jie created SPARK-36583:
--------------------------------
Summary: 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
`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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org