ambari集成impala组件
===
## 实现目标
当前最新ambari版本2.6.5.0及HDP3.1.5.0已不再发布维护和更新,由cloudera公司发布的CDP替代,CDP属于收费项目,因此推出基于ambari服务管理平台的impala服务组件。
## 关联项目
* [CDH KUDU on ambari](https://github.com/luckes-yang/ambari-kudu-service)
## 安装前准备
#### 1.配置cdh5或cdh6镜像源:
CDH5镜像源:
```shell
# cdh5适配impala版本为cdh-impala2.12.0
wget -P /etc/yum.repos.d/ https://archive.cloudera.com/cdh5/redhat/7/x86_64/cdh/cloudera-cdh5.repo
```
CDH6镜像源:
```shell
# cdh6适配kudu版本为cdh-impala3.2.0
echo "[cloudera-cdh6.3.2]
# Packages for Cloudera's Distribution for Hadoop, Version 6.3.2, on RedHat or CentOS 7 x86_64
name=Cloudera's Distribution for Hadoop, Version 5
baseurl=https://archive.cloudera.com/cdh6/6.3.2/redhat7/yum/
gpgkey =https://archive.cloudera.com/cdh6/6.3.2/redhat7/yum/RPM-GPG-KEY-cloudera
gpgcheck = 1" > /etc/yum.repos.d/cloudera-cdh6.3.2.repo
```
*无网络环境或网络环境差的情况下,可以将cdh5镜像源制作成本地镜像源进行安装*
## 安装步骤
#### 1.查看当前HDP版本
```shell
VERSION=`hdp-select status hadoop-client | sed 's/hadoop-client - \([0-9]\.[0-9]\).*/\1/'`
echo $VERSION
```
#### 2.下载并解压release版本插件包
```shell
git clone https://github.com/luckes-yang/ambari-impala-service.git /var/lib/ambari-server/resources/stacks/HDP/$VERSION/services/IMPALA
```
#### 3.重启ambari-server
```shell
ambari-server restart
```
#### 4.修改配置
* hdfs-site.xml
```xml
<property>
<name>dfs.client.read.shortcircuit</name>
<value>true</value>
</property>
<property>
<name>dfs.domain.socket.path</name>
<value>/var/run/hdfs-sockets/dn</value>
</property>
<property>
<name>dfs.client.file-block-storage-locations.timeout.millis</name>
<value>10000</value>
</property>
<property>
<name>dfs.datanode.hdfs-blocks-metadata.enabled</name>
<value>true</value>
</property>
```
#### 5.在ambari web ui进行组件安装
略
#### 6.效果截图
版本效果:<br>
![版本](images/version.png)
summary:
![summary](images/总览.png)
configuration:
![configuration](images/配置及快速链接.png)
若无法显示截图,是由于github的图片服务器访问问题,在本地hosts文件中添加如下映射即可
```shell
192.30.253.112 Build software better, together
192.30.253.119 gist.github.com
151.101.184.133 assets-cdn.github.com
151.101.184.133 raw.githubusercontent.com
151.101.184.133 gist.githubusercontent.com
151.101.184.133 cloud.githubusercontent.com
151.101.184.133 camo.githubusercontent.com
151.101.184.133 avatars0.githubusercontent.com
151.101.184.133 avatars1.githubusercontent.com
151.101.184.133 avatars2.githubusercontent.com
151.101.184.133 avatars3.githubusercontent.com
151.101.184.133 avatars4.githubusercontent.com
151.101.184.133 avatars5.githubusercontent.com
151.101.184.133 avatars6.githubusercontent.com
151.101.184.133 avatars7.githubusercontent.com
151.101.184.133 avatars8.githubusercontent.com
```
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
ambari2.7.5集成HDP3,本身不带impala、kudu 故集成cloudera的impala、kudu安装方式 ambari插件安装方式。 解压放到/var/lib/ambari-server/resources/stacks/HDP/3.1/services/下
资源详情
资源评论
资源推荐
收起资源包目录
kudu-impala.zip (70个子文件)
kudu-impala
IMPALA
metainfo.xml 3KB
quicklinks
quicklinks.json 1KB
configuration
impala-env.xml 2KB
.git
logs
HEAD 201B
refs
heads
master 201B
remotes
origin
HEAD 201B
packed-refs 107B
info
exclude 240B
index 1KB
objects
pack
pack-51fc03c56f6abec542da48dbb098fd1e45ff0d0c.idx 4KB
pack-51fc03c56f6abec542da48dbb098fd1e45ff0d0c.pack 46KB
info
HEAD 23B
config 286B
refs
heads
master 41B
tags
remotes
origin
HEAD 32B
branches
hooks
pre-applypatch.sample 398B
pre-push.sample 1KB
commit-msg.sample 896B
pre-commit.sample 2KB
applypatch-msg.sample 452B
prepare-commit-msg.sample 1KB
update.sample 4KB
post-update.sample 189B
pre-rebase.sample 5KB
description 73B
readme.md 3KB
package
scripts
impala-catalog.py 763B
impala-state-store.py 886B
impala-daemon.py 758B
impala_base.py 2KB
params.py 2KB
templates
impala.j2 2KB
init_lib.sh.j2 901B
files
hadoop-azure-datalake-2.6.0-cdh5.16.2.jar 32KB
KUDU
metainfo.xml 2KB
quicklinks
quicklinks.json 645B
images
version.png 44KB
配置及快速链接.png 27KB
总览.png 10KB
configuration
kudu-tserver-env.xml 42KB
kudu-master-env.xml 44KB
.git
logs
HEAD 199B
refs
heads
master 199B
remotes
origin
HEAD 199B
packed-refs 164B
info
exclude 240B
index 1KB
objects
pack
pack-f6fb0c1eed87220808ff7ec52a01a6b066f225ee.pack 165KB
pack-f6fb0c1eed87220808ff7ec52a01a6b066f225ee.idx 8KB
info
HEAD 23B
config 284B
refs
heads
master 41B
tags
remotes
origin
HEAD 32B
branches
hooks
pre-applypatch.sample 398B
pre-push.sample 1KB
commit-msg.sample 896B
pre-commit.sample 2KB
applypatch-msg.sample 452B
prepare-commit-msg.sample 1KB
update.sample 4KB
post-update.sample 189B
pre-rebase.sample 5KB
description 73B
readme.md 3KB
package
scripts
kudu_base.py 542B
kudu-tserver.py 1KB
kudu-master.py 1KB
params.py 777B
templates
kudu_tserver.j2 288B
kudu_master.j2 383B
共 70 条
- 1
封号斗鹅
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0