To validate mahout:
Create a test user:
hadoop fs -put /tmp/sample-test.txt /user/testuser
Create a mahout test output directory:
hadoop fs -mkdir /user/testuser/mahouttest
Set up mahout to convert the plain text file
sample-test.txt
into a sequence file that is in the output directorymahouttest
.mahout seqdirectory --input /user/testuser/sample-test.txt --output /user/testuser/mahouttest --charset utf-8