[
https://issues.apache.org/jira/browse/MAHOUT-1797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suneel Marthi closed MAHOUT-1797.
---------------------------------
> Typos for SPARK_ASSEMBLY_BIN
> ----------------------------
>
> Key: MAHOUT-1797
> URL: https://issues.apache.org/jira/browse/MAHOUT-1797
> Project: Mahout
> Issue Type: Bug
> Components: spark
> Reporter: Andrew Musselman
> Priority: Trivial
> Fix For: 0.11.2
>
>
> Some typos for SPARK_ASSEMBLY_BIN in the mahout script lines 223-230:
> SPARK_ASSEBMLY_BIN="${MAHOUT_HOME}/bin/mahout-spark-class.sh"
> if [ -x "${SPARK_ASSEBMLY_BIN}" ]; then
> SPARK_ASSEMBLY_CLASSPATH=$("${SPARK_ASSEBMLY_BIN}" 2>/dev/null)
> CLASSPATH="${CLASSPATH}:${SPARK_ASSEBMLY_BIN}"
> else
> echo "Cannot find Spark assembly classpath. Is 'SPARK_HOME' set?"
> exit -1
> fi
> In master:
> bob $ grep -r SPARK_ASS
> bin/mahout-spark-class.sh:SPARK_ASSEMBLY_JAR=
> bin/mahout-spark-class.sh:if [ "$num_jars" -eq "0" -a -z
> "$SPARK_ASSEMBLY_JAR" ]; then
> bin/mahout-spark-class.sh:SPARK_ASSEMBLY_JAR="${ASSEMBLY_DIR}/${ASSEMBLY_JARS}"
> bin/mahout-spark-class.sh:LAUNCH_CLASSPATH="$SPARK_ASSEMBLY_JAR"
> bin/mahout-spark-class.sh:export _SPARK_ASSEMBLY="$SPARK_ASSEMBLY_JAR"
> bin/mahout: SPARK_ASSEBMLY_BIN="${MAHOUT_HOME}/bin/mahout-spark-class.sh"
> bin/mahout: if [ -x "${SPARK_ASSEBMLY_BIN}" ]; then
> bin/mahout: SPARK_ASSEMBLY_CLASSPATH=$("${SPARK_ASSEBMLY_BIN}"
> 2>/dev/null)
> bin/mahout: CLASSPATH="${CLASSPATH}:${SPARK_ASSEBMLY_BIN}"
> Assuming it's safe to replace the typos with the correct spelling.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)