Mahout Exception : java.lang.NoSuchMethodError: org.apache.hadoop.util.ProgramDriver.driver

Another annoying Mahout Error on running the Mahout jobs.

Well this is caused because of the reason already discussed. The mahout is not build explicitly for Hadoop 2.

So all it needs is a small re build of Mahout:

mvn clean install -Dhadoop2 -Dhadoop2.version=2.2.0 -DskipTests=true

Thats it. Now mahout slould work just fine.
Drop a note in case you get stuck anywhere.

Yash Sharma is a Big Data & Machine Learning Engineer, A newbie OpenSource contributor, Plays guitar and enjoys teaching as part time hobby.
Talk to Yash about Distributed Systems and Data platform designs.

Leave a Reply

Your email address will not be published. Required fields are marked *