You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/04/11 10:42:27 UTC

[jira] [Commented] (MAHOUT-1797) Typos for SPARK_ASSEMBLY_BIN

    [ https://issues.apache.org/jira/browse/MAHOUT-1797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15234722#comment-15234722 ] 

Hudson commented on MAHOUT-1797:
--------------------------------

FAILURE: Integrated in Mahout-Quality #3324 (See [https://builds.apache.org/job/Mahout-Quality/3324/])
MAHOUT-1797: Typos for SPARK_ASSEMBLY_BIN (smarthi: rev f66e022c631c134e8b7e138e25d8fd94011d1b4c)
* bin/mahout


> 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)