Mahout deployment

Published 2026-07-28 13:03 Updated 2026-07-28 13:03 102 words 1 min read ... Page views

This article introduces the deployment process of Mahout clusters, including downloading, extracting Mahout compressed packages, configuring environment variables, and adding relevant application settings to the configuration file. Finally, the deployment is verified through startup tests. The expected status indicates that the deployment is complete.

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~

... Page views
© 2026 跨越星轨的客 @Hoshiumi
Powered by theme astro-koharu · Inspired by Shoka