Skip to content

Commit

Permalink
improve: universal the version of spark example jar (#5095)
Browse files Browse the repository at this point in the history
* improve: universal the version of spark example jar
  • Loading branch information
chenshuai1995 authored Mar 20, 2024
1 parent ce7cf5f commit 7d3970c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linkis-dist/bin/checkEnv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "

}
Expand Down

0 comments on commit 7d3970c

Please sign in to comment.