On 8/30/10 2:52 AM, cdwzwd wrote:
Hi
I hava the same problem with you.I want to know what is the meaning of "copy
the files from hdts to local
filesystem."
This means you need to get the files out of Hadoop's hdfs and into local
files on your machine. Something like $HADOOP_HOME/bin/hadoop fs -get
<hdfs file descriptor> <local file descriptor>.
I got the whole output of my kemans algorithm.And then I run
the clusterDump command using all the path in my LocalFileSystem. But there
is only an Exception.
You will need to provide more information to get more help, such as the
command line you are invoking, where your files are, etc. The
clusterdumper will run either against the local file system (in stand
alone mode) or against the Hadoop file system (if Hadoop is running).
running on hadoop, using HADOOP_HOME=/root/software/hadoop-0.20.2 and
HADOOP_CONF_DIR=/root/software/hadoop-0.20.2/conf
10/08/27 10:21:46 ERROR clustering.ClusterDumper: Exception
org.apache.commons.cli2.OptionException: Unexpected sequencefile while
processing Options
at org.apache.commons.cli2.commandline.Parser.parse(Parser.java:99)
at
org.apache.mahout.utils.clustering.ClusterDumper.main(ClusterDumper.java:248)
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)