cdh搭建仓库
搭建内部仓库使用yum安装cm
Creating a Permanent Internal Repository
1,安装httpd
yum install httpd
删除/etc/httpd/conf/httpd.conf 里的include
2,下载源文件cm
Download the tarball for your OS distribution from the repo-as-tarball archive:
Cloudera Manager 5: https://archive.cloudera.com/cm5/repo-astarball/
CDH 5: https://archive.cloudera.com/cdh5/repo-as-tarball/
解压
Unpack the tarball, move the files to the web server directory, and modify filepermissions. For example, you might use the following commands
$ tar xvfz cm5.14.0-centos7.tar.gz
$ sudo mv cm /var/www/html
$ sudo chmod -R ugo+rX /var/www/html/cm
3,配置客户端使用repo
Modifying Clients to Use the Internal Repository
Create /etc/yum.repos.d/cloudera-repo.repo files on clusterhosts with the following content, where <web_server> is thehostname of the web server:
$ [cloudera-repo]
$ name=cloudera-repo
$ baseurl=http://<web_server>/cm/5
$ enabled=1
$ gpgcheck=0
4,配置parcel 仓库
Hosting an Internal Parcel Repository
配置httpd
1,Download the parcel and manifest.json files for your OS distribution from:
CDH 5: Impala, Kudu, Spark 1, and Search are included in the CDH parcel.
CDH - https://archive.cloudera.com/cdh5/parcels/
Accumulo - - https://archive.cloudera.com/accumulo-c5/parcels/
GPL Extras - https://archive.cloudera.com/gplextras5/parcels/
可以不做》
CDS 2 Powered by Apache Spark for CDH 5:
The exact parcel name is dependent on the OS. You can find all the parcels athttps://archive.cloudera.com/spark2/parcels/ .
Cloudera Navigator Key Trustee Server:
Go to the Key Trustee Server download page (http://www.cloudera.com/content/www/enus/downloads/navigator/key-trustee-server.html) . Select Parcels from the Package or Parcel drop-down menu, and click
2,Move the .parcel and manifest.json files to the web server directory, and modify the file permissions. The hosted .sha1 files
are not used by Cloudera Manager when it obtains the parcels from a web server. Instead, it extracts the SHA1 hashes provided in
manifest.json . For example
sudo mkdir -p /var/www/html/cloudera-parcels/cdh5/<cdh5_version>/
sudo mv *.parcel* /var/www/html/cloudera-parcels/cdh5/<cdh5_version>/
sudo mv manifest.json /var/www/html/cloudera-parcels/cdh5/<cdh5_version>/
sudo chmod -R ugo+rX /var/www/html/cloudera-parcels/cdh5/<cdh5_version>/
Replace <cdh5_version> with your CDH version (for example, 5.14.0 ). After moving the files and changing permissions, visit
http://<web_server>/cloudera-parcels/cdh5/<cdh5_version> to verify that you can access the parcel. If you do not see
anything, your web server may have been configured to not show indexes.
Configuring the Cloudera Manager Server to Use the Parcel URL for Hosted Repositories
In the Remote Parcel Repository URLs list, click the addition symbol to open an additional row.
3. Enter the path to the parcel. For example: http://<web_server>/cdh5/<cdh5_version>
4. Click Save Changes to commit the changes
配置使用本地的parcel 仓库
To use a local parcel repository, complete the following steps:
- Open the Cloudera Manager web UI and navigate to the Parcels page.
- Select Configuration and verify that you have a Local Parcel Repository path set. By default, the directory is /opt/cloudera/parcelrepo .
- Remove any Remote Parcel Repository URLs you are not using, including ones that point to Cloudera archives.
- Add the parcel you want to use to the local parcel repository directory that you specified.
- In the command line, navigate to the local parcel repository directory.
- Create a SHA1 hash for the parcel you added and save it to a file named <parcel_name>.parcel.sha .
For example, the following command generates a SHA1 hash for the parcel CDH-5.14.0-1.cdh5.14.0.p0.24-el7.parcel :
sha1sum CDH-5.14.0-1.cdh5.14.0.p0.24-el7.parcel | awk '{ print $1 }' > CDH-5.14.0-1.cdh5.14.0.p0.24-el7.parcel.sha
Change the ownership of the parcel and hash files to cloudera-scm :
sudo chown cloudera-scm:cloudera-scm *.parcel.*
In the Cloudera Manager web UI, navigate to the Parcels page
Click Check for New Parcels.
When the new parcel appears, download, distribute, and activate the parcel
cdh搭建仓库的更多相关文章
- CDH搭建大数据集群(5.10.0)
纠结了好久,还是花钱了3个4核8G的阿里云主机,且行且珍惜,想必手动搭建过Hadoop集群的完全分布式.HBase的完全分布式的你(当然包括我,哈哈),一定会抱怨如此多的配置,而此时CDH正是解决我们 ...
- Update(Stage5):Kudu入门_项目介绍_ CDH搭建
Kudu 导读 什么是 Kudu 操作 Kudu 如何设计 Kudu 的表 Table of Contents 1. 什么是 Kudu 1.1. Kudu 的应用场景 1.2. Kudu 和其它存储工 ...
- 使用Windows Azure的VM安装和配置CDH搭建Hadoop集群
本文主要内容是使用Windows Azure的VIRTUAL MACHINES和NETWORKS服务安装CDH (Cloudera Distribution Including Apache Hado ...
- CDH搭建Hadoop集群(Centos7)
一.说明 节点(CentOS7.5) Server || Agent CPU node11 Server || Agent 4G node12 Agent 2G node13 Agent 2G 二 ...
- CDH搭建Hadoop分布式服务器集群(java新手小白)
1首先对于一个java还白的小白,先理解CDH与Hadoop的关系 一.Hadoop版本选择. Hadoop大致可分为Apache Hadoop和第三方发行第三方发行版Hadoop,考虑到Hadoop ...
- CDH搭建和集成spark、kafka操作
系统:Centos7 CDH版本:5.14.0 请自己提前安装好:mysql.jdk 并下载好相关依赖(每一台机器) yum -y install chkconfig python bind-util ...
- cdh maven仓库地址
常用的maven仓库地址: 中央库:http://repo.maven.apache.org/maven2/ cdh库:https://repository.cloudera.com/artifact ...
- centos6+cdh5.4.0 离线搭建cdh搭建
p.MsoNormal { margin: 0pt; margin-bottom: .0001pt; text-align: justify; font-family: Calibri; font-s ...
- 2.5、CDH 搭建Hadoop在安装(设置Cloudera Manager数据库)
步骤5:设置Cloudera Manager数据库 Cloudera Manager Server包含一个可以为自己创建和配置数据库的脚本.该脚本可以: 创建Cloudera Manager Serv ...
随机推荐
- SpringCloud之Zuul 自定义filter
实现过滤器很简单,只需要继承ZuulFilter,并实现ZuulFilter中的抽象方法. filterType():定义过滤器的类型,它有4种类型,分别是pre.post.routing和error ...
- kmp算法分析和C++实现
知乎高赞分析 作者:逍遥行 链接:https://www.zhihu.com/question/21923021/answer/37475572来源:知乎著作权归作者所有.商业转载请联系作者获得授权, ...
- MVC与MTV模型及Django请求的生命周期
MVC模型 MVC:Model View Controller M: 模型.是应用程序中用于处理应用程序数据逻辑的部分 V:视图.是应用程序汇总处理数据显示的部分 C:控制器.是应用程序中处理用户交互 ...
- [转帖]2015年时的新闻:Debian GNU/Hurd 2015 发布
Debian GNU/Hurd 2015 发布 oschina 发布于 2015年04月30日 https://www.oschina.net/news/62004/debian-gnu-hurd-2 ...
- Markedown换行
1.换行 1⃣️行尾先加两个空格符后再按回车键,显示内容就会换行 2⃣️行尾连按两次回车键,显示内容就会换行 3⃣️举例: 第一行内容<br/>第二行内容 第一行内容<br>第 ...
- # vmware异常关机后,虚拟系统无法启动的解决办法
vmware异常关机后,虚拟系统无法启动的解决办法 先使用everything搜索所有后缀为.lck的文件,这些文件全部删除,如果不确定是否可以删除,先把这些文件转移到桌面,等能启动虚拟系统之后再删除 ...
- redis 学习(16)-- redis 持久化
redis 持久化 什么是持久化 redis 将所有数据保持在内存中,对数据的更新将异步地保存在磁盘中 持久化的方式 1. 快照 快照是某时某刻对数据的完整备份. 在: MySQL Dump Redi ...
- 无障碍开发(二)之ARIA role属性
role属性 role属性值 含义 HTML示意 说明 alert 表示警告 <p id="ajax_error_alert" role="alert"& ...
- 记一次生产环境presto删表失败的问题
场景,开发用java程序连接presto创建一个表,这个表在hdfs的权限为: 然后用presto去删除这个表 报错,没有权限删除,查看上一级目录权限,发现权限正常 直连hive删表 发现正常. 然后 ...
- oracle创建表前校验是否存在
创建表前检查是否存在,并删除 --检查是否存在此表,存在则删除 declare num number; begin select count(1) into num from user_tables ...