If you want to run Apache Mahout in local mode (without Hadoop), then you need to set some value for the
MAHOUT_LOCAL environment variable, as follows:
HADOOP_HOME is not set, then Apache Mahout runs locally.
So, if you want to run Apache Mahout with Hadoop, then there are three possible options available:
You can select the Hadoop mode that best suits you, depending on the requirement at hand.
Local mode is the simplest of all modes in Hadoop with the least number of configuration changes.
Hadoop is running as a single JVM instance in this mode. Hadoop daemons, such as resource manager, name node, node manager, ...