This is an automated email from the ASF dual-hosted git repository. gurwls223 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 338d10f [SPARK-37459][BUILD] Upgrade commons-cli to 1.5.0 338d10f is described below commit 338d10f119ee9d3291830f635585f56d382185af Author: Kousuke Saruta <saru...@oss.nttdata.com> AuthorDate: Thu Nov 25 16:10:24 2021 +0900 [SPARK-37459][BUILD] Upgrade commons-cli to 1.5.0 ### What changes were proposed in this pull request? This PR upgrades `commons-cli` from `1.2` to `1.5.0`. ### Why are the changes needed? Currently used commons-cli is too old and contains an issue which affects the behavior of bin/spark-sql ``` bin/spark-sql -e 'SELECT "Spark"' ... Error in query: no viable alternative at input 'SELECT "'(line 1, pos 7) == SQL == SELECT "Spark -------^^^ ``` The root cause of this issue seems to be resolved in CLI-185. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Whether the build passes should be tested by CIs. Confirmed `bin/spark-sql -e 'SELECT "Spark"'` run successfully. Closes #34707 from sarutak/upgrade-commons-cli-1.5.0. Authored-by: Kousuke Saruta <saru...@oss.nttdata.com> Signed-off-by: Hyukjin Kwon <gurwls...@apache.org> --- dev/deps/spark-deps-hadoop-2.7-hive-2.3 | 2 +- dev/deps/spark-deps-hadoop-3.2-hive-2.3 | 2 +- pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/deps/spark-deps-hadoop-2.7-hive-2.3 b/dev/deps/spark-deps-hadoop-2.7-hive-2.3 index 063c460..69e7bbd 100644 --- a/dev/deps/spark-deps-hadoop-2.7-hive-2.3 +++ b/dev/deps/spark-deps-hadoop-2.7-hive-2.3 @@ -35,7 +35,7 @@ cats-kernel_2.12/2.1.1//cats-kernel_2.12-2.1.1.jar chill-java/0.10.0//chill-java-0.10.0.jar chill_2.12/0.10.0//chill_2.12-0.10.0.jar commons-beanutils/1.9.4//commons-beanutils-1.9.4.jar -commons-cli/1.2//commons-cli-1.2.jar +commons-cli/1.5.0//commons-cli-1.5.0.jar commons-codec/1.15//commons-codec-1.15.jar commons-collections/3.2.2//commons-collections-3.2.2.jar commons-compiler/3.0.16//commons-compiler-3.0.16.jar diff --git a/dev/deps/spark-deps-hadoop-3.2-hive-2.3 b/dev/deps/spark-deps-hadoop-3.2-hive-2.3 index 9a3d35d..93596c2 100644 --- a/dev/deps/spark-deps-hadoop-3.2-hive-2.3 +++ b/dev/deps/spark-deps-hadoop-3.2-hive-2.3 @@ -37,7 +37,7 @@ breeze_2.12/1.2//breeze_2.12-1.2.jar cats-kernel_2.12/2.1.1//cats-kernel_2.12-2.1.1.jar chill-java/0.10.0//chill-java-0.10.0.jar chill_2.12/0.10.0//chill_2.12-0.10.0.jar -commons-cli/1.2//commons-cli-1.2.jar +commons-cli/1.5.0//commons-cli-1.5.0.jar commons-codec/1.15//commons-codec-1.15.jar commons-collections/3.2.2//commons-collections-3.2.2.jar commons-compiler/3.0.16//commons-compiler-3.0.16.jar diff --git a/pom.xml b/pom.xml index 3899e2f..f8cc8bb 100644 --- a/pom.xml +++ b/pom.xml @@ -194,7 +194,7 @@ <htmlunit.version>2.50.0</htmlunit.version> <maven-antrun.version>1.8</maven-antrun.version> <commons-crypto.version>1.1.0</commons-crypto.version> - <commons-cli.version>1.2</commons-cli.version> + <commons-cli.version>1.5.0</commons-cli.version> <bouncycastle.version>1.60</bouncycastle.version> <tink.version>1.6.0</tink.version> <!-- --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org