Configure, Start, and Validate Apache Mahout
Before you can upgrade Apache Mahout, you must have first upgraded your HDP components to the latest version (in this case, 2.4.0). This section assumes that you have already upgraded your components for HDP 2.4.0. If you have not already completed these steps, return to Getting Ready to Upgrade and Upgrade 2.3 Components for instructions on how to upgrade your HDP components to 2.4.0.
Note | |
---|---|
The |
Replace your configuration after upgrading. Copy /etc/mahout/conf from the template to the conf directory in mahout hosts.
To validate mahout:
Create a test user:
su - hdfs -c "dfs -put /tmp/sample-test.txt /user/testuser"
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