This is an automated email from the ASF dual-hosted git repository.
peacewong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/linkis.git
The following commit(s) were added to refs/heads/master by this push:
new 7d3970c373 improve: universal the version of spark example jar (#5095)
7d3970c373 is described below
commit 7d3970c373d7463cdaa9b19f4c2afafcf6572c9a
Author: Chenshuai <[email protected]>
AuthorDate: Wed Mar 20 11:25:16 2024 +0800
improve: universal the version of spark example jar (#5095)
* improve: universal the version of spark example jar
---
linkis-dist/bin/checkEnv.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linkis-dist/bin/checkEnv.sh b/linkis-dist/bin/checkEnv.sh
index c3daceb39f..e40fc26b4f 100644
--- a/linkis-dist/bin/checkEnv.sh
+++ b/linkis-dist/bin/checkEnv.sh
@@ -123,7 +123,7 @@ function checkSpark(){
fi
# --- 3. check server status
- spark-submit --class org.apache.spark.examples.SparkPi --master local
${SPARK_HOME}/examples/jars/spark-examples_2.12-3.2.1.jar 10 > /dev/null 2>&1
+ spark-submit --class org.apache.spark.examples.SparkPi --master local
${SPARK_HOME}/examples/jars/spark-examples_*.jar 10 > /dev/null 2>&1
isSuccess "execute cmd: spark-submit --class
org.apache.spark.examples.SparkPi "
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]