Alluxio Instation
Download Alluxio
- Download Alluxio12345678910111213# 解壓縮下載的tar包,或者自行編譯的tar包[root@testmain ~]# tar -zxvf alluxio-1.6.0-hadoop-2.8-bin.tar.gz -C /opt/software[root@testmain ~]# cd /opt/software[root@testmain software]# ln -s alluxio-1.6.0-hadoop-2.8 alluxio# 將file owner更改為啟動Alluxio的Linux user[root@testmain software]# sudo chown -R hadoop:hadoop alluxio-1.6.0-hadoop-2.8/[root@testmain software]# sudo chown -R hadoop:hadoop alluxio# 配置環境變量[root@testmain software]# sudo vim /etc/profileexport ALLUXIO_HOME="/opt/software/alluxio"export PATH="$ALLUXIO_HOME/bin:$PATH"[root@testmain software]# source /etc/profile
Configure Alluxio
- Alluxio Quick Start Guide12345[root@testmain software]# cd alluxio[root@testmain alluxio]# cp conf/alluxio-site.properties.template conf/alluxio-site.properties[root@testmain alluxio]# vim conf/alluxio-site.properties## 將文件內此行註解取消alluxio.master.hostname=localhost
Validate Alluxio environment
|
|
Start Alluxio
|
|
Files operation in Alluxio
|
|
View on the Website
- 透過ip/domain:19999訪問Alluxio頁面
Stop Alluxio
|
|