[ https://issues.apache.org/jira/browse/MAHOUT-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14981406#comment-14981406 ]
ASF GitHub Bot commented on MAHOUT-1778: ---------------------------------------- Github user pferrel commented on a diff in the pull request: https://github.com/apache/mahout/pull/164#discussion_r43450624 --- Diff: bin/compute-classpath.sh --- @@ -0,0 +1,167 @@ +#!/usr/bin/env bash + +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# This script computes Spark's classpath and prints it to stdout; it's used by both the "run" +# script and the ExecutorRunner in standalone cluster mode. + +# Figure out where Spark is installed +#FWDIR="$(cd "`dirname "$0"`"/..; pwd)" +FWDIR="$SPARK_HOME" + +echo "Using FWDIR: $FWDIR" --- End diff -- was using a binary so missed that thanks > MAhout Spark Shell doesn't work with Spark > 1.3 > ------------------------------------------------ > > Key: MAHOUT-1778 > URL: https://issues.apache.org/jira/browse/MAHOUT-1778 > Project: Mahout > Issue Type: Improvement > Components: Mahout spark shell > Affects Versions: 0.11.0 > Reporter: Suneel Marthi > Assignee: Pat Ferrel > Fix For: 0.12.0 > > > Mahout Spark Shell uses compute-classpath.sh from Spark for loading up the > shell. The compute-classpath.sh script was removed from Spark 1.4 and above. > The Mahout Spark Shell code needs to be fixed to handle the changes in Spark > 1.4. -- This message was sent by Atlassian JIRA (v6.3.4#6332)