mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adam35413 <adam.ham...@gmail.com>
Subject Re: Dealing with kmean and meanshift output
Date Fri, 09 Apr 2010 19:25:35 GMT

I would agree; if $HADOOP_HOME is set, CONF should have been set as well.  I
fixed that environment variable, and now the error is:

bin/mahout clusterdump --seqFileDir part-00000 --output testFile.txt 
running on hadoop, using
HADOOP_HOME=/home/adam/Coding/hadoopResearch/hadoop-0.20.2 and
HADOOP_CONF_DIR=/home/adam/Coding/hadoopResearch/hadoop-0.20.2/conf
10/04/09 15:11:08 ERROR driver.MahoutDriver: MahoutDriver failed with args:
[--seqFileDir, part-00000, --output, testFile.txt, null]
null
Exception in thread "main" java.lang.NullPointerException
	at
org.apache.mahout.utils.clustering.ClusterDumper.printClusters(ClusterDumper.java:121)
	at
org.apache.mahout.utils.clustering.ClusterDumper.main(ClusterDumper.java:302)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
	at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
	at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:172)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)

-- 
View this message in context: http://n3.nabble.com/Dealing-with-kmean-and-meanshift-output-tp708824p709066.html
Sent from the Mahout User List mailing list archive at Nabble.com.

Mime
View raw message