From 29f82d43db570928f3cee49102ec5a714f9cb9b5 Mon Sep 17 00:00:00 2001 From: WilliamZhu Date: Thu, 15 Nov 2018 19:17:38 +0800 Subject: [PATCH] modify start-local script --- dev/start-local.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/start-local.sh b/dev/start-local.sh index 7467139de..8a00e852a 100755 --- a/dev/start-local.sh +++ b/dev/start-local.sh @@ -12,6 +12,7 @@ if [ -z "${MLSQL_HOME}" ]; then fi JARS=$(echo ${MLSQL_HOME}/libs/*.jar | tr ' ' ',') +MAIN_AJR=$(ls libs|grep 'streamingpro-mlsql') $SPARK_HOME/bin/spark-submit --class streaming.core.StreamingApp \ --jars ${JARS} \ --master local[*] \ @@ -21,9 +22,8 @@ $SPARK_HOME/bin/spark-submit --class streaming.core.StreamingApp \ --conf "spark.kryoserializer.buffer.max=1024m" \ --conf "spark.serializer=org.apache.spark.serializer.KryoSerializer" \ --conf "spark.scheduler.mode=FAIR" \ - ${MLSQL_HOME}/libs/streamingpro-mlsql-1.1.3.jar \ + ${MLSQL_HOME}/libs/${MAIN_AJR} \ -streaming.name mlsql \ - -streaming.job.file.path ${MLSQL_HOME}/empty.json \ -streaming.platform spark \ -streaming.rest true \ -streaming.driver.port 9003 \