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

dongjoon 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 0c029e70706c [SPARK-46218][BUILD] Upgrade commons-cli to 1.6.0
0c029e70706c is described below

commit 0c029e70706c7e1a4c3a7bb763dbbcb4fe1ccd9f
Author: panbingkun <pbk1...@gmail.com>
AuthorDate: Sun Dec 3 21:27:21 2023 -0800

    [SPARK-46218][BUILD] Upgrade commons-cli to 1.6.0
    
    ### What changes were proposed in this pull request?
    The pr aims to upgrade `commons-cli` from `1.5.0` to `1.6.0`.
    
    ### Why are the changes needed?
    - The last upgrade occurred two years ago, 
https://github.com/apache/spark/pull/34707
    - The full release notes: 
https://commons.apache.org/proper/commons-cli/changes-report.html#a1.6.0
    - The version mainly focus on fixing bugs:
    Fix NPE in CommandLine.resolveOption(String). Fixes 
[CLI-283](https://issues.apache.org/jira/browse/CLI-283).
    CommandLine.addOption(Option) should not allow a null Option. Fixes 
[CLI-283](https://issues.apache.org/jira/browse/CLI-283).
    CommandLine.addArgs(String) should not allow a null String. Fixes 
[CLI-283](https://issues.apache.org/jira/browse/CLI-283).
    NullPointerException thrown by CommandLineParser.parse(). Fixes 
[CLI-317](https://issues.apache.org/jira/browse/CLI-317).
    StringIndexOutOfBoundsException thrown by CommandLineParser.parse(). Fixes 
[CLI-313](https://issues.apache.org/jira/browse/CLI-313).
    
    ### 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 #44132 from panbingkun/SPARK-46218.
    
    Authored-by: panbingkun <pbk1...@gmail.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 dev/deps/spark-deps-hadoop-3-hive-2.3 | 2 +-
 pom.xml                               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev/deps/spark-deps-hadoop-3-hive-2.3 
b/dev/deps/spark-deps-hadoop-3-hive-2.3
index f1d675d92b6d..ebfe6acad960 100644
--- a/dev/deps/spark-deps-hadoop-3-hive-2.3
+++ b/dev/deps/spark-deps-hadoop-3-hive-2.3
@@ -35,7 +35,7 @@ breeze_2.13/2.1.0//breeze_2.13-2.1.0.jar
 cats-kernel_2.13/2.8.0//cats-kernel_2.13-2.8.0.jar
 chill-java/0.10.0//chill-java-0.10.0.jar
 chill_2.13/0.10.0//chill_2.13-0.10.0.jar
-commons-cli/1.5.0//commons-cli-1.5.0.jar
+commons-cli/1.6.0//commons-cli-1.6.0.jar
 commons-codec/1.16.0//commons-codec-1.16.0.jar
 commons-collections/3.2.2//commons-collections-3.2.2.jar
 commons-collections4/4.4//commons-collections4-4.4.jar
diff --git a/pom.xml b/pom.xml
index 2a259cfd322b..27ee42f103dd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -220,7 +220,7 @@
     <htmlunit.version>2.70.0</htmlunit.version>
     <maven-antrun.version>3.1.0</maven-antrun.version>
     <commons-crypto.version>1.1.0</commons-crypto.version>
-    <commons-cli.version>1.5.0</commons-cli.version>
+    <commons-cli.version>1.6.0</commons-cli.version>
     <bouncycastle.version>1.70</bouncycastle.version>
     <tink.version>1.9.0</tink.version>
     <netty.version>4.1.100.Final</netty.version>


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

Reply via email to