准备的文件:
alluxio-2.6.1-bin.tar.gz
下载: wget https://downloads.alluxio.io/downloads/files/2.6.1/alluxio-2.6.1-bin.tar.gz
alluxio配置文件
git clone https://github.com/elbert-lau/ambari-alluxio-service
1. Linux环境配置
在ambari server节点上执行:
cd /var/lib/ambari-server/resources/stacks/HDP/3.0/services/
mkdir ALLUXIO
unzip /root/ambari-alluxio-service-master.zip -d ALLUXIO/
mv /root/alluxio-2.6.1-bin.tar.gz /var/lib/ambari-server/resources/stacks/HDP/3.0/services/ALLUXIOF/package/files/
#重启ambari
ambari-server restart
2. ambari配置
重启ambari-server后,在ambari页面增加服务,选择alluxio进行安装
选择需要部署的机器对应的master和slave,按步骤安装完成。
alluxio.zookeeper.address: 192.168.82.251:2181
修改记录:
params.py
删除第四行:format_hdp_stack_version
注释47行:alluxio_master = '#alluxio.master.hostname=' + host_name