You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ya...@apache.org on 2025/02/10 03:38:14 UTC

(spark) branch master updated: [SPARK-51133][BUILD] Upgrade Apache `commons-pool2` to 2.12.1

This is an automated email from the ASF dual-hosted git repository.

yangjie01 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 2fc278d39851 [SPARK-51133][BUILD] Upgrade Apache `commons-pool2` to 2.12.1
2fc278d39851 is described below

commit 2fc278d39851f07752d0f5711f8d7176cb88432b
Author: Wei Guo <gu...@gmail.com>
AuthorDate: Mon Feb 10 11:37:56 2025 +0800

    [SPARK-51133][BUILD] Upgrade Apache `commons-pool2` to 2.12.1
    
    ### What changes were proposed in this pull request?
    
    This PR aims to upgrade Apache `commons-pool2` from 2.12.0 to 2.12.1.
    
    ### Why are the changes needed?
    
    There are some bug fixes in version 2.12.1:
    
    - The maximum wait time for GenericObjectPool.borrowObject(*) may exceed expectations due to a spurious thread wakeup. Fixes [POOL-418](https://issues.apache.org/jira/browse/POOL-418).
    - GenericObjectPool.borrowObject(Duration) doesn't obey its borrowMaxWait Duration argument when the argument is different from GenericObjectPool.getMaxWaitDuration().
    
    Full changes: https://commons.apache.org/proper/commons-pool/changes.html#a2.12.1
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass GA.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #49856 from wayneguow/commons-pool2.
    
    Authored-by: Wei Guo <gu...@gmail.com>
    Signed-off-by: yangjie01 <ya...@baidu.com>
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index a78fcc07aa50..c2b2152a6a6b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -193,7 +193,7 @@
     <!-- org.apache.commons/commons-lang3/-->
     <commons-lang3.version>3.17.0</commons-lang3.version>
     <!-- org.apache.commons/commons-pool2/-->
-    <commons-pool2.version>2.12.0</commons-pool2.version>
+    <commons-pool2.version>2.12.1</commons-pool2.version>
     <datanucleus-core.version>4.1.17</datanucleus-core.version>
     <guava.version>33.4.0-jre</guava.version>
     <gson.version>2.11.0</gson.version>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org