File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -138,12 +138,12 @@ if [ -e "$TOOLS_DIR"/target/spark-tools*[0-9Tg].jar ]; then
138138fi
139139
140140# Compute classpath using external script
141- CLASSPATH_OUTPUT =$( $FWDIR /bin/compute-classpath.sh)
141+ classpath_output =$( $FWDIR /bin/compute-classpath.sh)
142142if [[ " $? " != " 0" ]]; then
143- echo " $CLASSPATH_OUTPUT "
143+ echo " $classpath_output "
144144 exit 1
145145else
146- CLASSPATH=$CLASSPATH_OUTPUT
146+ CLASSPATH=$classpath_output
147147fi
148148
149149if [[ " $1 " =~ org.apache.spark.tools.* ]]; then
Original file line number Diff line number Diff line change 5858JAVA_CMD=$JAVA_HOME /bin/java
5959JAVA_VERSION=$( $JAVA_CMD -version 2>&1 )
6060if ! [[ " $JAVA_VERSION " =~ " 1.6" ]]; then
61- echo " Error: Java version was not 1.6. Spark must be compiled with JDK 1.6 "
62- echo " (see SPARK-1703). Output from 'java -version' was:"
61+ echo " Error: JAVA_HOME must point to a JDK 6 installation (see SPARK-1703). "
62+ echo " Output from 'java -version' was:"
6363 echo " $JAVA_VERSION "
6464 exit -1
6565fi
You can’t perform that action at this time.
0 commit comments