Mahout cluster deployment
Install and unzip Mahout
Download compressed package
cd /export/software
wget -P /export/software/ https://downloads.apache.org/mahout/14.1/apache-mahout-distribution-14.1.tar.gz
mkdir /export/servers/mahout
Unzip and install
tar -zxvf /export/software/apache-mahout-distribution-14.1.tar.gz -C /export/servers/mahout
cd /export/servers
sudo chown -R hadooper:hadooper /export/servers/mahout/
Configure environment variables
sudo vi /etc/profile
Add the following to this folder:
#Mahout环境变量
export HADOOP_CONF_DIR=/export/servers/hadoop/etc/hadoop
export MAHOUT_HOME=/export/servers/mahout
export MAHOUT_CONF_DIR=$MAHOUT_HOME/conf
export PATH=$PATH:$MAHOUT_HOME/bin
application configuration
source /etc/profile
start test
cd /export/servers/mahout
/export/servers/mahout/bin/mahout spark-shell
If the status shown in the following figure appears, it means that the launch was successful

If you enjoyed this, leave a comment~