Subject: RE: Problems running examples


Thanks Ian,
I applied the patch to the 0.5 bits and it did not help resolve the build-reuters issues with my CDH3 or MapR clusters. I'm not having any problems running the trunk version on those clusters so I have not tried the patch. I do have problems (see below) running on my Mac unicluster at home and I will try the patch there to see if it resolves that issue.

-----Original Message-----
From: Ian Upright [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 15, 2011 10:35 AM
To: [EMAIL PROTECTED]
Subject: Re: Problems running examples

Sorry.. This isn't a diff, but hopefully it helps.  The changes were to the
/bin/mahout script.

Ian

---
# CLASSPATH initially contains $MAHOUT_CONF_DIR, or defaults to
$MAHOUT_HOME/src/conf
CLASSPATH=${CLASSPATH}:$MAHOUT_CONF_DIR
CLASSPATH=${CLASSPATH}:$HADOOP_CONF_DIR
CLASSPATH=${CLASSPATH}:$JAVA_HOME/lib/tools.jar

# so that filenames w/ spaces are handled correctly in loops below
IFS
--- INSERTED HERE ---
for f in "$HADOOP_HOME"/hadoop-*.jar; do
        CLASSPATH=${CLASSPATH}:$f;
done

for f in "$HADOOP_HOME"/lib/*.jar; do
   CLASSPATH=${CLASSPATH}:$f;
done
--- END INSERT ---

if [ $IS_CORE == 0 ]
then

  # add release dependencies to CLASSPATH
  for f in $MAHOUT_HOME/mahout-*.jar; do
    CLASSPATH=${CLASSPATH}:$f;
  done

  # add dev targets if they exist
  for f in $MAHOUT_HOME/*/target/mahout-*-job.jar; do
    CLASSPATH=${CLASSPATH}:$f;
  done

  # add release dependencies to CLASSPATH
  for f in $MAHOUT_HOME/lib/*.jar; do
    CLASSPATH=${CLASSPATH}:$f;
  done
else
  CLASSPATH=${CLASSPATH}:$MAHOUT_HOME/math/target/classes
  CLASSPATH=${CLASSPATH}:$MAHOUT_HOME/core/target/classes
  CLASSPATH=${CLASSPATH}:$MAHOUT_HOME/integration/target/classes
  CLASSPATH=${CLASSPATH}:$MAHOUT_HOME/examples/target/classes
  #CLASSPATH=${CLASSPATH}:$MAHOUT_HOME/core/src/main/resources
fi

 /

 /

 /
 /

 /

 /

 /

 /

 /

 /

 /

 /

 c

 /

 c

 /

 c

 /

 c

 /

 c

 /

 c

 /

 c

 /

 c

 /

 c

 /

 c

 /

 c

 /

 c

 x

 /

 c

 x

 /

 c

 x

 /

 c

 x

 /

 c

 x

 /

 c

 x

 /

 c

 x

 /

 c

 x

 /

 c

 x

 /

 c

 x

 /

 c

 x

 /

 c

 x

 r

 /

 c

 x

 r

 /

 c

 x

 r

 /

 c

 x

 r

 /

 c

 x

 r

 /

 c

 x

 r

 /

 c

 x

 r

 /

 c

 x

 r

 p

 d

 e

 h

 p

 d

 e

 h