1. 环境准备

  • CentOS7
  • JDK8

2. 下载kudu仓库文件

http://archive.cloudera.com/kudu/redhat/7/x86_64/kudu/cloudera-kudu.repo

3. 安装yum仓库

wget http://archive.cloudera.com/kudu/redhat/7/x86_64/kudu/cloudera-kudu.repo
cp cloudera-kudu.repo /etc/yum.repos.d/

4. 清除并重建yum缓存

yum clean all
yum makecache

5. 安装kudu

# 安装kudu基本文件
# 安装master服务脚本和配置
# 安装tablet server服务与配置
# 安装kudu C++ 共享库
# 安装C++ 客户端SDK
yum install -y kudu kudu-master kudu-tserver kudu-client0 kudu-client-devel

6. kudu的配置文件目录

cd /etc/kudu/conf

7. 启动kudu服务

# 启动master
service kudu-master start
# 启动tserver
service kudu-tserver start

8. 停止kudu服务

# 停止master
service kudu-master stop
# 停止tserver
service kudu-tserver stop

9. 设置kudu服务开机自启

# 启用开机自启服务(on/off)
chkconfig kudu-master on
chkconfig kudu-tserver on

10. 查看kudu服务运行状态

# 查看master运行状态
service kudu-master status
# 查看tserver运行状态
service kudu-tserver status

11. 查看WebUI

# master
http://host:8050/
# tserver
http://host:8051/
 

转自:https://www.jianshu.com/p/0a391d90f844