10.1. Mahout Validation

To validate mahout:

  1. Create a test user:

    hadoop fs -put /tmp/sample-test.txt /user/testuser
  2. Create a mahout test output directory:

    hadoop fs -mkdir /user/testuser/mahouttest
  3. Set up mahout to convert the plain text file sample-test.txt into a sequence file that is in the output directory mahouttest.

    mahout seqdirectory --input /user/testuser/sample-test.txt --output /user/testuser/mahouttest --charset utf-8 


loading table of contents...