配置kudu-1.9.0软件源

安装httpd,createrepo

yum -y install httpd createrepo

启动httpd

systemctl start httpd.service

创建kudu软件源存放目录

mkdir -p /var/www/html/kudu

下载kudu rpm包,地址:https://archive.cloudera.com/cdh6/6.2.0/redhat7/yum/RPMS/x86_64/

wget https://archive.cloudera.com/cdh6/6.2.0/redhat7/yum/RPMS/x86_64/kudu-1.9.0+cdh6.2.0-967373.el7.x86_64.rpm
wget https://archive.cloudera.com/cdh6/6.2.0/redhat7/yum/RPMS/x86_64/kudu-client-devel-1.9.0+cdh6.2.0-967373.el7.x86_64.rpm
wget https://archive.cloudera.com/cdh6/6.2.0/redhat7/yum/RPMS/x86_64/kudu-client0-1.9.0+cdh6.2.0-967373.el7.x86_64.rpm
wget https://archive.cloudera.com/cdh6/6.2.0/redhat7/yum/RPMS/x86_64/kudu-debuginfo-1.9.0+cdh6.2.0-967373.el7.x86_64.rpm
wget https://archive.cloudera.com/cdh6/6.2.0/redhat7/yum/RPMS/x86_64/kudu-master-1.9.0+cdh6.2.0-967373.el7.x86_64.rpm
wget https://archive.cloudera.com/cdh6/6.2.0/redhat7/yum/RPMS/x86_64/kudu-tserver-1.9.0+cdh6.2.0-967373.el7.x86_64.rpm

创建软件源配置信息

[root@master kudu]# pwd
/var/www/html/kudu
[root@master kudu]# createrepo ./
Spawning worker 0 with 6 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
[root@master kudu]# ll
总用量 673836
-rw-r--r-- 1 root root 148899616 3月  28 17:16 kudu-1.9.0+cdh6.2.0-967373.el7.x86_64.rpm
-rw-r--r-- 1 root root   4217444 3月  28 17:15 kudu-client0-1.9.0+cdh6.2.0-967373.el7.x86_64.rpm
-rw-r--r-- 1 root root     58784 3月  28 17:16 kudu-client-devel-1.9.0+cdh6.2.0-967373.el7.x86_64.rpm
-rw-r--r-- 1 root root 297224792 3月  28 17:17 kudu-debuginfo-1.9.0+cdh6.2.0-967373.el7.x86_64.rpm
-rw-r--r-- 1 root root      6556 3月  28 17:15 kudu-master-1.9.0+cdh6.2.0-967373.el7.x86_64.rpm
-rw-r--r-- 1 root root      6592 3月  28 17:14 kudu-tserver-1.9.0+cdh6.2.0-967373.el7.x86_64.rpm
drwxr-xr-x 2 root root      4096 5月   5 15:39 repodata

编写配置文件cloudera-kudu.repo,并放入目录/etc/yum.repos.d下(所有安装kudu的机器都需要此操作),172.16.253.44为安装httpd服务的机器

[cloudera-kudu]
name=cloudera-kudu
baseurl=http://172.16.253.44/kudu
enabled=1
gpgcheck=0

刷新缓存

刷新yum缓存
yum clean all //清除yum信息
yum makecache //创建cache

查看软件源

[root@master yum.repos.d]# yum list|grep kudu
kudu.x86_64                                 1.9.0+cdh6.2.0-967373.el7  cloudera-kudu
kudu-client-devel.x86_64                    1.9.0+cdh6.2.0-967373.el7  cloudera-kudu
kudu-client0.x86_64                         1.9.0+cdh6.2.0-967373.el7  cloudera-kudu
kudu-debuginfo.x86_64                       1.9.0+cdh6.2.0-967373.el7  cloudera-kudu
kudu-master.x86_64                          1.9.0+cdh6.2.0-967373.el7  cloudera-kudu
kudu-tserver.x86_64                         1.9.0+cdh6.2.0-967373.el7  cloudera-kudu

安装kudu

yum -y install kudu-master kudu-tserver kudu-client-devel kudu-client0

启动

service  kudu-master start
service  kudu-tserver start

状态

[root@master kudu]# service  kudu-tserver status
Kudu Tablet Server is running                              [  确定  ]
[root@master kudu]# service  kudu-master status
Kudu Master Server is running                              [  确定  ]

kudu web控制台:
http://172.16.253.44:8051/

参考:
https://blog.csdn.net/gcangle/article/details/50197753

你可能感兴趣的:(kudu)