Skip to content

Commit

Permalink
[FLINK-9445][scala] Scala-shell uses JAVA_RUN
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed May 10, 2019
1 parent cc19aef commit f3252c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flink-scala-shell/start-script/start-scala-shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ log_setting="-Dlog.file="$LOG" -Dlog4j.configuration=file:"$FLINK_CONF_DIR"/$LOG

if ${EXTERNAL_LIB_FOUND}
then
java -Dscala.color -cp "$FLINK_CLASSPATH" $log_setting org.apache.flink.api.scala.FlinkShell $@ --addclasspath "$EXT_CLASSPATH"
$JAVA_RUN -Dscala.color -cp "$FLINK_CLASSPATH" $log_setting org.apache.flink.api.scala.FlinkShell $@ --addclasspath "$EXT_CLASSPATH"
else
java -Dscala.color -cp "$FLINK_CLASSPATH" $log_setting org.apache.flink.api.scala.FlinkShell $@
$JAVA_RUN -Dscala.color -cp "$FLINK_CLASSPATH" $log_setting org.apache.flink.api.scala.FlinkShell $@
fi

#restore echo
Expand Down

0 comments on commit f3252c4

Please sign in to comment.