Search code examples
javahadoopmachine-learningdependency-managementmahout

is it possible to use apache mahout without hadoop dependency?


Is it possible to use Apache mahout without any dependency to Hadoop.

I would like to use the mahout algorithm on a single computer by only including the mahout library inside my Java project but i dont want to use hadoop at all since i will be running on a single node anyway.

Is that possible?


Solution

  • Yes. Not all of Mahout depends on Hadoop, though much does. If you use a piece that depends on Hadoop, of course, you need Hadoop. But for example there is a substantial recommender engine code base that does not use Hadoop.

    You can embed a local Hadoop cluster/worker in a Java program.