alluxio安装

解压

tar -xvf alluxio-2.9.3-bin.tar.gz -C /opt

进入/opt/alluxio-2.9.3/conf,修改配置文件

vim master
hadoop001

vim workers
hadoop001 
hadoop002
hadoop003

vim alluxio-env.sh
export JAVA_HOME=/usr/local/jdk1.8.0_192

vim alluxio-site.properties
alluxio.worker.ramdisk.size=4GB
alluxio.worker.tieredstore.level0.dirs.path=/mnt/ramdisk
alluxio.master.hostname=hadoop001

在master节点上格式化

cd /opt/alluxio-2.9.3/bin
hadoop@hadoop001:/opt/alluxio-2.9.3/bin$ ./alluxio format
Executing the following command on all worker nodes and logging to /opt/alluxio-2.9.3/logs/task.log: /opt/alluxio-2.9.3/bin/alluxio formatWorker
Waiting for tasks to finish...
All tasks finished
Executing the following command on all master nodes and logging to /opt/alluxio-2.9.3/logs/task.log: /opt/alluxio-2.9.3/bin/alluxio formatJournal
Waiting for tasks to finish...
All tasks finished

在每个节点下挂载


hadoop@hadoop001:/opt/alluxio-2.9.3/bin$ ./alluxio-mount.sh SudoMount
Formatting RamFS: /mnt/ramdisk (4294967296)
[sudo] password for hadoop: 

在master节点上启动服务

hadoop@hadoop001:/opt/alluxio-2.9.3/bin$ ./alluxio-start.sh all
Assuming NoMount by default.
Executing the following command on all master nodes and logging to /opt/alluxio-2.9.3/logs/task.log: /opt/alluxio-2.9.3/bin/alluxio-stop.sh proxy
Waiting for tasks to finish...
All tasks finished
Executing the following command on all worker nodes and logging to /opt/alluxio-2.9.3/logs/task.log: /opt/alluxio-2.9.3/bin/alluxio-stop.sh proxy
Waiting for tasks to finish...
All tasks finished
Executing the following command on all worker nodes and logging to /opt/alluxio-2.9.3/logs/task.log: /opt/alluxio-2.9.3/bin/alluxio-stop.sh job_worker
Waiting for tasks to finish...
All tasks finished
Executing the following command on all worker nodes and logging to /opt/alluxio-2.9.3/logs/task.log: /opt/alluxio-2.9.3/bin/alluxio-stop.sh worker
Waiting for tasks to finish...
All tasks finished
Executing the following command on all master nodes and logging to /opt/alluxio-2.9.3/logs/task.log: /opt/alluxio-2.9.3/bin/alluxio-stop.sh job_master
Waiting for tasks to finish...
All tasks finished
Executing the following command on all master nodes and logging to /opt/alluxio-2.9.3/logs/task.log: /opt/alluxio-2.9.3/bin/alluxio-stop.sh master
Waiting for tasks to finish...
All tasks finished
Executing the following command on all master nodes and logging to /opt/alluxio-2.9.3/logs/task.log: /opt/alluxio-2.9.3/bin/alluxio-start.sh -a master
Waiting for tasks to finish...
All tasks finished
Executing the following command on all master nodes and logging to /opt/alluxio-2.9.3/logs/task.log: /opt/alluxio-2.9.3/bin/alluxio-start.sh -a job_master
Waiting for tasks to finish...
All tasks finished
Executing the following command on all worker nodes and logging to /opt/alluxio-2.9.3/logs/task.log: /opt/alluxio-2.9.3/bin/alluxio-start.sh -a worker NoMount
Waiting for tasks to finish...
All tasks finished
Executing the following command on all worker nodes and logging to /opt/alluxio-2.9.3/logs/task.log: /opt/alluxio-2.9.3/bin/alluxio-start.sh -a job_worker
Waiting for tasks to finish...
All tasks finished
Executing the following command on all master nodes and logging to /opt/alluxio-2.9.3/logs/task.log: /opt/alluxio-2.9.3/bin/alluxio-start.sh -a proxy
Waiting for tasks to finish...
All tasks finished
Executing the following command on all worker nodes and logging to /opt/alluxio-2.9.3/logs/task.log: /opt/alluxio-2.9.3/bin/alluxio-start.sh -a proxy
Waiting for tasks to finish...
All tasks finished
-----------------------------------------
Starting to monitor all remote services.
-----------------------------------------
--- [ OK ] The master service @ hadoop001 is in a healthy state.
--- [ OK ] The job_master service @ hadoop001 is in a healthy state.
--- [ OK ] The worker service @ hadoop001 is in a healthy state.
--- [ OK ] The worker service @ hadoop003 is in a healthy state.
--- [ OK ] The worker service @ hadoop002 is in a healthy state.
--- [ OK ] The job_worker service @ hadoop003 is in a healthy state.
--- [ OK ] The job_worker service @ hadoop001 is in a healthy state.
--- [ OK ] The job_worker service @ hadoop002 is in a healthy state.
--- [ OK ] The proxy service @ hadoop001 is in a healthy state.
--- [ OK ] The proxy service @ hadoop003 is in a healthy state.
--- [ OK ] The proxy service @ hadoop002 is in a healthy state.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值