I am running SimpleKmeansClustering sample code from mahout in action. How
can I convert sequence file written using SequenceFile.Writer into plain
HDFS file so that I can read it properly. I know mahout has seqdumper tool
to read it. But I want to create normal text file rather than sequence file
Praveenesh,
The utility hadoop fs -text seqfile, documented at
http://hadoop.apache.org/common/docs/current/file_system_shell.html#text
can read SequenceFiles and print their string representations out.
Will this be of any help?
Otherwise, you want to use a SequenceFile.Reader over your given
Cool.
I used the 2nd method. Will look out for other 2 also.
Thanks,
Praveenesh
On Wed, Feb 1, 2012 at 4:43 PM, Harsh J ha...@cloudera.com wrote:
Praveenesh,
The utility hadoop fs -text seqfile, documented at
http://hadoop.apache.org/common/docs/current/file_system_shell.html#text
can read