Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1797

Typos for SPARK_ASSEMBLY_BIN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.11.2
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andrew.musselman Andrew Musselman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: