Ambari安装之部署本地库(镜像服务器)(二)
部署本地库(镜像服务器)
(1)下载HortWorks官网上的3个库到本地(也可以在线下载,但是速度会很慢)
我们先把hortworks官网上需要下载的3个库下载到本地(这个还是需要很长时间的,当然你也可以在线下载,通过wget但是由于文件比较大,所以下载会非常慢)然后把他上传到我们的镜像服务器上。
一个是 Ambari Repositories
两个是 HDP 2.4 Repositories
http://docs.hortonworks.com/index.html
http://docs.hortonworks.com/HDPDocuments/Ambari/Ambari-2.2.1.0/index.html
OS是Oracle Linux 6
URL是http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.1.0/ambari-2.2.1.0-centos6.tar.gz
OS是Oracle Linux 6
Version Number是HDP-2.4.0.0
Repository Name是HDP
URL是http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.4.0.0/HDP-2.4.0.0-centos6-rpm.tar.gz
OS是Oracle Linux 6
Version Number是HDP-2.4.0.0
Repository Name是HDP-UTILS
URL是http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6/HDP-UTILS-1.1.0.20-centos6.tar.gz
参考官网
https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_Installing_HDP_AMB/content/_getting_started_setting_up_a_local_repository.html
(2)创建本地yum源
我们使用下面的命令先来安装创建本地源的工具
[hadoop@ambari01 ~]$ pwd /home/hadoop [hadoop@ambari01 ~]$ sudo yum install yum-utils createrepo (当然你这里可以直接在root用户下运行,就不需加sudo了) Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.zju.edu.cn * extras: mirrors.zju.edu.cn * updates: mirrors.zju.edu.cn Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package createrepo.noarch 0:0.9.9-24.el6 will be installed --> Processing Dependency: python-deltarpm for package: createrepo-0.9.9-24.el6.noarch ---> Package yum-utils.noarch 0:1.1.30-14.el6 will be updated ---> Package yum-utils.noarch 0:1.1.30-37.el6 will be an update --> Processing Dependency: yum >= 3.2.29-56 for package: yum-utils-1.1.30-37.el6.noarch --> Running transaction check ---> Package python-deltarpm.x86_64 0:3.5-0.5.20090913git.el6 will be installed --> Processing Dependency: deltarpm = 3.5-0.5.20090913git.el6 for package: python-deltarpm-3.5-0.5.20090913git.el6.x86_64 ---> Package yum.noarch 0:3.2.29-40.el6.centos will be updated ---> Package yum.noarch 0:3.2.29-75.el6.centos will be an update --> Processing Dependency: python-urlgrabber >= 3.9.1-10 for package: yum-3.2.29-75.el6.centos.noarch --> Running transaction check ---> Package deltarpm.x86_64 0:3.5-0.5.20090913git.el6 will be installed ---> Package python-urlgrabber.noarch 0:3.9.1-9.el6 will be updated ---> Package python-urlgrabber.noarch 0:3.9.1-11.el6 will be an update --> Finished Dependency Resolution Dependencies Resolved =============================================================================================================================================================================================== Package Arch Version Repository Size ===============================================================================================================================================================================================
Installing:
createrepo noarch 0.9.9-24.el6 base 96 k
Updating:
yum-utils noarch 1.1.30-37.el6 base 112 k
Installing for dependencies:
deltarpm x86_64 3.5-0.5.20090913git.el6 base 71 k
python-deltarpm x86_64 3.5-0.5.20090913git.el6 base 27 k
Updating for dependencies:
python-urlgrabber noarch 3.9.1-11.el6 base 86 k
yum noarch 3.2.29-75.el6.centos updates 1.0 M
Transaction Summary
===============================================================================================================================================================================================
Install 3 Package(s)
Upgrade 3 Package(s)
Total download size: 1.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): createrepo-0.9.9-24.el6.noarch.rpm | 96 kB 00:00
(2/6): deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm | 71 kB 00:00
(3/6): python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm | 27 kB 00:00
(4/6): python-urlgrabber-3.9.1-11.el6.noarch.rpm | 86 kB 00:01
(5/6): yum-3.2.29-75.el6.centos.noarch.rpm | 1.0 MB 00:23
(6/6): yum-utils-1.1.30-37.el6.noarch.rpm | 112 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 42 kB/s | 1.4 MB 00:33
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
1:libreoffice-core-4.0.4.2-9.el6.x86_64 has missing requires of libjawt.so()(64bit)
1:libreoffice-core-4.0.4.2-9.el6.x86_64 has missing requires of libjawt.so(SUNWprivate_1.1)(64bit)
1:libreoffice-ure-4.0.4.2-9.el6.x86_64 has missing requires of jre >= ('0', '1.5.0', None)
Installing : deltarpm-3.5-0.5.20090913git.el6.x86_64 1/9
Installing : python-deltarpm-3.5-0.5.20090913git.el6.x86_64 2/9
Updating : python-urlgrabber-3.9.1-11.el6.noarch 3/9
Updating : yum-3.2.29-75.el6.centos.noarch 4/9
Installing : createrepo-0.9.9-24.el6.noarch 5/9
Updating : yum-utils-1.1.30-37.el6.noarch 6/9
Cleanup : yum-utils-1.1.30-14.el6.noarch 7/9
Cleanup : yum-3.2.29-40.el6.centos.noarch 8/9
Cleanup : python-urlgrabber-3.9.1-9.el6.noarch 9/9
Verifying : createrepo-0.9.9-24.el6.noarch 1/9
Verifying : yum-utils-1.1.30-37.el6.noarch 2/9
Verifying : yum-3.2.29-75.el6.centos.noarch 3/9
Verifying : python-urlgrabber-3.9.1-11.el6.noarch 4/9
Verifying : deltarpm-3.5-0.5.20090913git.el6.x86_64 5/9
Verifying : python-deltarpm-3.5-0.5.20090913git.el6.x86_64 6/9
Verifying : yum-3.2.29-40.el6.centos.noarch 7/9
Verifying : yum-utils-1.1.30-14.el6.noarch 8/9
Verifying : python-urlgrabber-3.9.1-9.el6.noarch 9/9
Installed:
createrepo.noarch 0:0.9.9-24.el6
Dependency Installed:
deltarpm.x86_64 0:3.5-0.5.20090913git.el6 python-deltarpm.x86_64 0:3.5-0.5.20090913git.el6
Updated:
yum-utils.noarch 0:1.1.30-37.el6
Dependency Updated:
python-urlgrabber.noarch 0:3.9.1-11.el6 yum.noarch 0:3.2.29-75.el6.centos
Complete!
(3)检查并安装Apache
我们先来检查一下安装了没有
我们输入yum list httpd(d代表demo,代表常驻后台运行的)
如果我们发现没有安装,那我们就使用命令安装一下
sudo yum install httpd
[hadoop@ambari01 ~]$ yum list httpd Loaded plugins: fastestmirror, refresh-packagekit, security Determining fastest mirrors * base: centos.ustc.edu.cn * extras: centos.ustc.edu.cn * updates: mirrors.zju.edu.cn Installed Packages httpd.x86_64 2.2.15-29.el6.centos @anaconda-CentOS-201311272149.x86_64/6.5 Available Packages httpd.x86_64 2.2.15-56.el6.centos.3 updates [hadoop@ambari01 ~]$ sudo yum install httpd Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.zju.edu.cn * extras: mirrors.zju.edu.cn * updates: mirrors.zju.edu.cn Resolving Dependencies --> Running transaction check ---> Package httpd.x86_64 0:2.2.15-29.el6.centos will be updated ---> Package httpd.x86_64 0:2.2.15-56.el6.centos.3 will be an update --> Processing Dependency: httpd-tools = 2.2.15-56.el6.centos.3 for package: httpd-2.2.15-56.el6.centos.3.x86_64 --> Running transaction check ---> Package httpd-tools.x86_64 0:2.2.15-29.el6.centos will be updated ---> Package httpd-tools.x86_64 0:2.2.15-56.el6.centos.3 will be an update --> Finished Dependency Resolution Dependencies Resolved =============================================================================================================================================================================================== Package Arch Version Repository Size =============================================================================================================================================================================================== Updating: httpd x86_64 2.2.15-56.el6.centos.3 updates 834 k Updating for dependencies: httpd-tools x86_64 2.2.15-56.el6.centos.3 updates 79 k Transaction Summary =============================================================================================================================================================================================== Upgrade 2 Package(s) Total download size: 913 k Is this ok [y/N]: y Downloading Packages: (1/2): httpd-2.2.15-56.el6.centos.3.x86_64.rpm | 834 kB 00:08 (2/2): httpd-tools-2.2.15-56.el6.centos.3.x86_64.rpm | 79 kB 00:01 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 87 kB/s | 913 kB 00:10 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : httpd-tools-2.2.15-56.el6.centos.3.x86_64 1/4 Updating : httpd-2.2.15-56.el6.centos.3.x86_64 2/4 Cleanup : httpd-2.2.15-29.el6.centos.x86_64 3/4 Cleanup : httpd-tools-2.2.15-29.el6.centos.x86_64 4/4 Verifying : httpd-2.2.15-56.el6.centos.3.x86_64 1/4 Verifying : httpd-tools-2.2.15-56.el6.centos.3.x86_64 2/4 Verifying : httpd-2.2.15-29.el6.centos.x86_64 3/4 Verifying : httpd-tools-2.2.15-29.el6.centos.x86_64 4/4 Updated: httpd.x86_64 0:2.2.15-56.el6.centos.3 Dependency Updated: httpd-tools.x86_64 0:2.2.15-56.el6.centos.3 Complete! [hadoop@ambari01 ~]$
(4)创建一个目录/var/www/html,然后把相关资源托管到Apache的这个目录下
[hadoop@ambari01 ~]$ mkdir -p /var/www/html [hadoop@ambari01 ~]$ cd /var/www/ [hadoop@ambari01 www]$ ll total 16 drwxr-xr-x. 2 root root 4096 Jan 13 01:10 cgi-bin drwxr-xr-x. 3 root root 4096 Mar 30 23:09 error drwxr-xr-x. 2 root root 4096 Jan 13 01:10 html drwxr-xr-x. 3 root root 4096 Mar 30 23:09 icons [hadoop@ambari01 www]$ pwd /var/www [hadoop@ambari01 www]$
(5)上传3个本地库到该目录下(),由于文件比较大,也可以一个一个上传解压,然后把安装包删除之后再上传另一个安装包
先用root用户来执行,然后,赋予用户和用户组。
这里,采用filezilla
OK
现在,改成hadoop用户和用户组
[hadoop@ambari01 html]$ pwd /var/www/html [hadoop@ambari01 html]$ ll total 7678656 -rw-r--r--. 1 root root 656499062 Mar 30 23:22 ambari-2.2.1.0-centos6.tar.gz -rw-r--r-- 1 root root 6477716048 Mar 31 10:22 HDP-2.4.0.0-centos6-rpm.tar.gz -rw-r--r--. 1 root root 728708111 Mar 30 23:35 HDP-UTILS-1.1.0.20-centos6.tar.gz [hadoop@ambari01 html]$ su root Password: [root@ambari01 html]# pwd /var/www/html [root@ambari01 html]# chown -R hadoop:hadoop ambari-2.2.1.0-centos6.tar.gz [root@ambari01 html]# chown -R hadoop:hadoop HDP-2.4.0.0-centos6-rpm.tar.gz [root@ambari01 html]# chown -R hadoop:hadoop HDP-UTILS-1.1.0.20-centos6.tar.gz [root@ambari01 html]# su hadoop [hadoop@ambari01 html]$ ll total 7678656 -rw-r--r--. 1 hadoop hadoop 656499062 Mar 30 23:22 ambari-2.2.1.0-centos6.tar.gz -rw-r--r-- 1 hadoop hadoop 6477716048 Mar 31 10:22 HDP-2.4.0.0-centos6-rpm.tar.gz -rw-r--r--. 1 hadoop hadoop 728708111 Mar 30 23:35 HDP-UTILS-1.1.0.20-centos6.tar.gz [hadoop@ambari01 html]$
(6)解压
解压的时候用sudo权限,例如下面所示
[hadoop@ambari01 html]$ pwd /var/www/html [hadoop@ambari01 html]$ ll total 7678656 -rw-r--r--. 1 hadoop hadoop 656499062 Mar 30 23:22 ambari-2.2.1.0-centos6.tar.gz -rw-r--r-- 1 hadoop hadoop 6477716048 Mar 31 10:22 HDP-2.4.0.0-centos6-rpm.tar.gz -rw-r--r--. 1 hadoop hadoop 728708111 Mar 30 23:35 HDP-UTILS-1.1.0.20-centos6.tar.gz [hadoop@ambari01 html]$ sudo tar -zxvf ambari-2.2.1.0-centos6.tar.gz
[hadoop@ambari01 html]$ pwd /var/www/html [hadoop@ambari01 html]$ ll total 7678660 drwxr-xr-x 3 1001 users 4096 Feb 27 2016 AMBARI-2.2.1.0 -rw-r--r--. 1 hadoop hadoop 656499062 Mar 30 23:22 ambari-2.2.1.0-centos6.tar.gz -rw-r--r-- 1 hadoop hadoop 6477716048 Mar 31 10:22 HDP-2.4.0.0-centos6-rpm.tar.gz -rw-r--r--. 1 hadoop hadoop 728708111 Mar 30 23:35 HDP-UTILS-1.1.0.20-centos6.tar.gz [hadoop@ambari01 html]$ sudo tar -zxvf HDP-2.4.0.0-centos6-rpm.tar.gz
在这里,因为,我之前的分区过小。所以,这里大家可以在本地磁盘上先解压好,再上传。或者重启开机增加ambari01的容量。
在这里,经验之谈。若你对该虚拟机有过快照,是不能直接扩容的,得删除快照,才可以操作。或者你不删除快照,那么,得去新增一个磁盘,再挂载上去。请移步。
磁盘分区(20G升50G)
我这里省事了。直接在本地先解压好,再上传吧!
[hadoop@ambari01 html]$ ll total 7037540 drwxr-xr-x 3 1001 users 4096 Feb 27 2016 AMBARI-2.2.1.0 -rw-r--r-- 1 hadoop hadoop 6477716048 Mar 31 10:22 HDP-2.4.0.0-centos6-rpm.tar.gz -rw-r--r--. 1 hadoop hadoop 728708111 Mar 30 23:35 HDP-UTILS-1.1.0.20-centos6.tar.gz [hadoop@ambari01 html]$ cd /home/hadoop/ [hadoop@ambari01 ~]$ pwd /home/hadoop [hadoop@ambari01 ~]$ ll total 0 [hadoop@ambari01 ~]$ cp /var/www/html/HDP-2.4.0.0-centos6-rpm.tar.gz /home/hadoop/ [hadoop@ambari01 ~]$ ll total 6325900 -rw-r--r-- 1 hadoop hadoop 6477716048 Mar 31 11:55 HDP-2.4.0.0-centos6-rpm.tar.gz [hadoop@ambari01 ~]$ sudo tar -zxvf HDP-2.4.0.0-centos6-rpm.tar.gz
特意贴出解压过程,拿出来学学
[hadoop@ambari01 ~]$ sudo tar -zxvf HDP-2.4.0.0-centos6-rpm.tar.gz HDP/centos6/2.x/updates/2.4.0.0/ HDP/centos6/2.x/updates/2.4.0.0/build.id HDP/centos6/2.x/updates/2.4.0.0/pig/ HDP/centos6/2.x/updates/2.4.0.0/pig/pig_2_4_0_0_169-0.15.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/bigtop-tomcat/ HDP/centos6/2.x/updates/2.4.0.0/bigtop-tomcat/bigtop-tomcat-6.0.44-1.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/atlas/ HDP/centos6/2.x/updates/2.4.0.0/atlas/atlas-metadata_2_4_0_0_169-0.5.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/atlas/atlas-metadata_2_4_0_0_169-hive-plugin-0.5.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/pig/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/pig/pig-0.15.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/knox/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/knox/knox-0.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/ranger/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/ranger/ranger-kafka-plugin-0.5.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/ranger/ranger-yarn-plugin-0.5.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/ranger/ranger-debuginfo-0.5.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/ranger/ranger-storm-plugin-0.5.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/ranger/ranger-usersync-0.5.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/ranger/ranger-admin-0.5.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/ranger/ranger-hdfs-plugin-0.5.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/ranger/ranger-knox-plugin-0.5.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/ranger/ranger-hbase-plugin-0.5.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/ranger/ranger-hive-plugin-0.5.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/ranger/ranger-kms-0.5.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/ranger/ranger-solr-plugin-0.5.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/atlas-metadata/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/sqoop/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/sqoop/sqoop-metastore-1.4.6.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/sqoop/sqoop-1.4.6.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/zeppelin/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/zeppelin/zeppelin-0.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/oozie/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/oozie/oozie-4.2.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/oozie/oozie-client-4.2.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/kafka/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/kafka/kafka-0.9.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hbase/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/hbase/hbase-master-1.1.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hbase/hbase-thrift-1.1.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hbase/hbase-thrift2-1.1.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hbase/hbase-regionserver-1.1.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hbase/hbase-doc-1.1.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hbase/hbase-rest-1.1.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hbase/hbase-1.1.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/phoenix/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/phoenix/phoenix-4.4.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/accumulo/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/accumulo/accumulo-test-1.7.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/accumulo/accumulo-conf-standalone-1.7.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/accumulo/accumulo-source-1.7.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/accumulo/accumulo-1.7.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-hdfs-secondarynamenode-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-source-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-hdfs-namenode-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-hdfs-zkfc-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-httpfs-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-hdfs-journalnode-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-yarn-nodemanager-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-conf-pseudo-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-yarn-proxyserver-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-libhdfs-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-yarn-resourcemanager-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-yarn-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-mapreduce-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-httpfs-server-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-hdfs-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-client-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-yarn-timelineserver-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-hdfs-fuse-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-hdfs-datanode-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-mapreduce-historyserver-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadoop/hadoop-doc-2.7.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/datafu/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/datafu/datafu-1.3.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/falcon/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/falcon/falcon-0.6.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/falcon/falcon-doc-0.6.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadooplzo/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadooplzo/hadooplzo-0.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hadooplzo/hadooplzo-native-0.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hive/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/hive/hive-hcatalog-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hive/hive-metastore-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hive/hive-webhcat-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hive/hive-webhcat-server-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hive/hive-hcatalog-server-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hive/hive-server-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hive/hive-jdbc-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hive/hive-server2-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/hive/hive-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/spark/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/spark/spark-worker-1.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/spark/spark-1.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/spark/spark-python-1.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/spark/spark-yarn-shuffle-1.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/spark/spark-master-1.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/flume/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/flume/flume-agent-1.5.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/flume/flume-1.5.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/slider/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/slider/slider-0.80.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/tez/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/tez/tez-0.7.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/mahout/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/mahout/mahout-doc-0.9.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/mahout/mahout-0.9.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/storm/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/storm/storm-0.10.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/storm/storm-slider-client-0.10.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/zookeeper/ HDP/centos6/2.x/updates/2.4.0.0/vrpms/zookeeper/zookeeper-3.4.6.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/vrpms/zookeeper/zookeeper-server-3.4.6.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hdp.repo HDP/centos6/2.x/updates/2.4.0.0/calcite/ HDP/centos6/2.x/updates/2.4.0.0/knox/ HDP/centos6/2.x/updates/2.4.0.0/knox/knox_2_4_0_0_169-0.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hdp_private.repo HDP/centos6/2.x/updates/2.4.0.0/ranger/ HDP/centos6/2.x/updates/2.4.0.0/ranger/ranger_2_4_0_0_169-yarn-plugin-0.5.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/ranger/ranger_2_4_0_0_169-solr-plugin-0.5.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/ranger/ranger_2_4_0_0_169-knox-plugin-0.5.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/ranger/ranger_2_4_0_0_169-storm-plugin-0.5.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/ranger/ranger_2_4_0_0_169-debuginfo-0.5.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/ranger/ranger_2_4_0_0_169-kafka-plugin-0.5.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/ranger/ranger_2_4_0_0_169-kms-0.5.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/ranger/ranger_2_4_0_0_169-usersync-0.5.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/ranger/ranger_2_4_0_0_169-hive-plugin-0.5.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/ranger/ranger_2_4_0_0_169-hdfs-plugin-0.5.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/ranger/ranger_2_4_0_0_169-hbase-plugin-0.5.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/ranger/ranger_2_4_0_0_169-admin-0.5.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hue/ HDP/centos6/2.x/updates/2.4.0.0/hue/hue-oozie-2.6.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hue/hue-common-2.6.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hue/hue-hcatalog-2.6.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hue/hue-server-2.6.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hue/hue-pig-2.6.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hue/hue-beeswax-2.6.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hue/hue-2.6.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hdpbn.repo HDP/centos6/2.x/updates/2.4.0.0/sqoop/ HDP/centos6/2.x/updates/2.4.0.0/sqoop/sqoop_2_4_0_0_169-1.4.6.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/sqoop/sqoop_2_4_0_0_169-metastore-1.4.6.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/zeppelin/ HDP/centos6/2.x/updates/2.4.0.0/zeppelin/zeppelin_2_4_0_0_169-0.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/oozie/ HDP/centos6/2.x/updates/2.4.0.0/oozie/oozie_2_4_0_0_169-4.2.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/oozie/oozie_2_4_0_0_169-client-4.2.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/kafka/ HDP/centos6/2.x/updates/2.4.0.0/kafka/kafka_2_4_0_0_169-0.9.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hbase/ HDP/centos6/2.x/updates/2.4.0.0/hbase/hbase_2_4_0_0_169-master-1.1.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hbase/hbase_2_4_0_0_169-thrift2-1.1.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hbase/hbase_2_4_0_0_169-rest-1.1.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hbase/hbase_2_4_0_0_169-regionserver-1.1.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hbase/hbase_2_4_0_0_169-thrift-1.1.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hbase/hbase_2_4_0_0_169-1.1.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hbase/hbase_2_4_0_0_169-doc-1.1.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hdp-select/ HDP/centos6/2.x/updates/2.4.0.0/hdp-select/hdp-select-2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/bigtop-jsvc/ HDP/centos6/2.x/updates/2.4.0.0/bigtop-jsvc/bigtop-jsvc-debuginfo-1.0.10.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/bigtop-jsvc/bigtop-jsvc-1.0.10.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/phoenix/ HDP/centos6/2.x/updates/2.4.0.0/phoenix/phoenix_2_4_0_0_169-4.4.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/slider-app-packages/ HDP/centos6/2.x/updates/2.4.0.0/slider-app-packages/hbase/ HDP/centos6/2.x/updates/2.4.0.0/slider-app-packages/hbase/slider-hbase-app-package-1.1.2.2.4.0.0-169.zip HDP/centos6/2.x/updates/2.4.0.0/slider-app-packages/pkg-list_bn.txt HDP/centos6/2.x/updates/2.4.0.0/slider-app-packages/accumulo/ HDP/centos6/2.x/updates/2.4.0.0/slider-app-packages/accumulo/slider-accumulo-app-package-1.7.0.2.4.0.0-169.zip HDP/centos6/2.x/updates/2.4.0.0/slider-app-packages/command-logger/ HDP/centos6/2.x/updates/2.4.0.0/slider-app-packages/command-logger/command-logger-slider-package.zip HDP/centos6/2.x/updates/2.4.0.0/slider-app-packages/pkg-list_private.txt HDP/centos6/2.x/updates/2.4.0.0/slider-app-packages/pkg-list_public.txt HDP/centos6/2.x/updates/2.4.0.0/slider-app-packages/storm/ HDP/centos6/2.x/updates/2.4.0.0/slider-app-packages/storm/slider-storm-app-package-0.10.0.2.4.0.0-169.zip HDP/centos6/2.x/updates/2.4.0.0/slider-app-packages/pkg-list.txt HDP/centos6/2.x/updates/2.4.0.0/accumulo/ HDP/centos6/2.x/updates/2.4.0.0/accumulo/accumulo_2_4_0_0_169-test-1.7.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/accumulo/accumulo_2_4_0_0_169-1.7.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/accumulo/accumulo_2_4_0_0_169-conf-standalone-1.7.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/accumulo/accumulo_2_4_0_0_169-source-1.7.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/ HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-yarn-timelineserver-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-hdfs-fuse-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-client-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-hdfs-datanode-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-httpfs-server-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-hdfs-journalnode-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-yarn-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-hdfs-secondarynamenode-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-doc-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-mapreduce-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-mapreduce-historyserver-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-hdfs-zkfc-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-yarn-nodemanager-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-libhdfs-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-yarn-proxyserver-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-hdfs-namenode-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-source-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-httpfs-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-yarn-resourcemanager-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-hdfs-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadoop/hadoop_2_4_0_0_169-conf-pseudo-2.7.1.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/repodata/ HDP/centos6/2.x/updates/2.4.0.0/repodata/4446be975894b6d8a1cee9a783409335bc8a831a9c3c166152b406f465fce6b0-primary.xml.gz HDP/centos6/2.x/updates/2.4.0.0/repodata/a3ad843dc0d0260704953f9e05ee282e2911cb2f9b03544f47a9b4fc83a6d61b-filelists.xml.gz HDP/centos6/2.x/updates/2.4.0.0/repodata/60eaf21e5b569842f7af58ae155422a20a9b4d764f9e8796e2947df13695bb6b-filelists.sqlite.bz2 HDP/centos6/2.x/updates/2.4.0.0/repodata/41ca810aded633c445691c8de16b86f4f1e14388d856d6e79e3f29994c1eeef4-other.sqlite.bz2 HDP/centos6/2.x/updates/2.4.0.0/repodata/d8e5b9c52923cd44adfac3c73a47ab36dc64246be34808cd5b7f0070f9397906-other.xml.gz HDP/centos6/2.x/updates/2.4.0.0/repodata/694fb2f4e1d0dd472d85b19cb9bd73d1292a872d5980f378741f3b99c5b8c6b8-primary.sqlite.bz2 HDP/centos6/2.x/updates/2.4.0.0/repodata/repomd.xml HDP/centos6/2.x/updates/2.4.0.0/build_metadata.txt HDP/centos6/2.x/updates/2.4.0.0/HDP-2.4.0.0-centos6-m2-artifacts.tar HDP/centos6/2.x/updates/2.4.0.0/datafu/ HDP/centos6/2.x/updates/2.4.0.0/datafu/datafu_2_4_0_0_169-1.3.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/falcon/ HDP/centos6/2.x/updates/2.4.0.0/falcon/falcon_2_4_0_0_169-doc-0.6.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/falcon/falcon_2_4_0_0_169-0.6.1.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/RPM-GPG-KEY/ HDP/centos6/2.x/updates/2.4.0.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins HDP/centos6/2.x/updates/2.4.0.0/hadooplzo/ HDP/centos6/2.x/updates/2.4.0.0/hadooplzo/hadooplzo_2_4_0_0_169-0.6.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hadooplzo/hadooplzo_2_4_0_0_169-native-0.6.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/hive/ HDP/centos6/2.x/updates/2.4.0.0/hive/hive_2_4_0_0_169-server2-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hive/hive_2_4_0_0_169-webhcat-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hive/hive_2_4_0_0_169-jdbc-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hive/hive_2_4_0_0_169-hcatalog-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hive/hive_2_4_0_0_169-server-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hive/hive_2_4_0_0_169-metastore-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hive/hive_2_4_0_0_169-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hive/hive_2_4_0_0_169-webhcat-server-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hive/hive_2_4_0_0_169-hcatalog-server-1.2.1000.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hdp-partial-build.repo HDP/centos6/2.x/updates/2.4.0.0/spark/ HDP/centos6/2.x/updates/2.4.0.0/spark/spark_2_4_0_0_169-master-1.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/spark/spark_2_4_0_0_169-worker-1.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/spark/spark_2_4_0_0_169-python-1.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/spark/spark_2_4_0_0_169-yarn-shuffle-1.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/spark/spark_2_4_0_0_169-1.6.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/hdp_public.repo HDP/centos6/2.x/updates/2.4.0.0/flume/ HDP/centos6/2.x/updates/2.4.0.0/flume/flume_2_4_0_0_169-1.5.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/flume/flume_2_4_0_0_169-agent-1.5.2.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/slider/ HDP/centos6/2.x/updates/2.4.0.0/slider/slider_2_4_0_0_169-0.80.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/tez/ HDP/centos6/2.x/updates/2.4.0.0/tez/tez_2_4_0_0_169-0.7.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/build_changelog.txt HDP/centos6/2.x/updates/2.4.0.0/mahout/ HDP/centos6/2.x/updates/2.4.0.0/mahout/mahout_2_4_0_0_169-doc-0.9.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/mahout/mahout_2_4_0_0_169-0.9.0.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/storm/ HDP/centos6/2.x/updates/2.4.0.0/storm/storm_2_4_0_0_169-slider-client-0.10.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/storm/storm_2_4_0_0_169-0.10.0.2.4.0.0-169.el6.x86_64.rpm HDP/centos6/2.x/updates/2.4.0.0/zookeeper/ HDP/centos6/2.x/updates/2.4.0.0/zookeeper/zookeeper_2_4_0_0_169-3.4.6.2.4.0.0-169.el6.noarch.rpm HDP/centos6/2.x/updates/2.4.0.0/zookeeper/zookeeper_2_4_0_0_169-server-3.4.6.2.4.0.0-169.el6.noarch.rpm [hadoop@ambari01 ~]$
[hadoop@ambari01 ~]$ pwd /home/hadoop [hadoop@ambari01 ~]$ ll total 6325904 drwxr-xr-x 3 root root 4096 Mar 31 11:57 HDP -rw-r--r-- 1 hadoop hadoop 6477716048 Mar 31 11:55 HDP-2.4.0.0-centos6-rpm.tar.gz [hadoop@ambari01 ~]$ cd /var/www/html/ [hadoop@ambari01 html]$ pwd /var/www/html [hadoop@ambari01 html]$ ll total 7037540 drwxr-xr-x 3 1001 users 4096 Feb 27 2016 AMBARI-2.2.1.0 -rw-r--r-- 1 hadoop hadoop 6477716048 Mar 31 10:22 HDP-2.4.0.0-centos6-rpm.tar.gz -rw-r--r--. 1 hadoop hadoop 728708111 Mar 30 23:35 HDP-UTILS-1.1.0.20-centos6.tar.gz [hadoop@ambari01 html]$ rm HDP-2.4.0.0-centos6-rpm.tar.gz rm: cannot remove `HDP-2.4.0.0-centos6-rpm.tar.gz': Permission denied [hadoop@ambari01 html]$ su root Password: [root@ambari01 html]# pwd /var/www/html [root@ambari01 html]# ll total 7037540 drwxr-xr-x 3 1001 users 4096 Feb 27 2016 AMBARI-2.2.1.0 -rw-r--r-- 1 hadoop hadoop 6477716048 Mar 31 10:22 HDP-2.4.0.0-centos6-rpm.tar.gz -rw-r--r--. 1 hadoop hadoop 728708111 Mar 30 23:35 HDP-UTILS-1.1.0.20-centos6.tar.gz [root@ambari01 html]# rm HDP-2.4.0.0-centos6-rpm.tar.gz rm: remove regular file `HDP-2.4.0.0-centos6-rpm.tar.gz'? y [root@ambari01 html]# ll total 711640 drwxr-xr-x 3 1001 users 4096 Feb 27 2016 AMBARI-2.2.1.0 -rw-r--r--. 1 hadoop hadoop 728708111 Mar 30 23:35 HDP-UTILS-1.1.0.20-centos6.tar.gz [root@ambari01 html]#
[root@ambari01 html]# pwd /var/www/html [root@ambari01 html]# ll total 711640 drwxr-xr-x 3 1001 users 4096 Feb 27 2016 AMBARI-2.2.1.0 -rw-r--r--. 1 hadoop hadoop 728708111 Mar 30 23:35 HDP-UTILS-1.1.0.20-centos6.tar.gz [root@ambari01 html]# cd /home/hadoop/ [root@ambari01 hadoop]# pwd /home/hadoop [root@ambari01 hadoop]# ll total 6325904 drwxr-xr-x 3 root root 4096 Mar 31 11:57 HDP -rw-r--r-- 1 hadoop hadoop 6477716048 Mar 31 11:55 HDP-2.4.0.0-centos6-rpm.tar.gz [root@ambari01 hadoop]# cp /home/hadoop/HDP /var/www/html/ cp: omitting directory `/home/hadoop/HDP' [root@ambari01 hadoop]# cp -r /home/hadoop/HDP /var/www/html/ [root@ambari01 hadoop]# cd /var/www/html/ [root@ambari01 html]# pwd /var/www/html [root@ambari01 html]# ll total 711644 drwxr-xr-x 3 1001 users 4096 Feb 27 2016 AMBARI-2.2.1.0 drwxr-xr-x 3 root root 4096 Mar 31 12:12 HDP -rw-r--r--. 1 hadoop hadoop 728708111 Mar 30 23:35 HDP-UTILS-1.1.0.20-centos6.tar.gz [root@ambari01 html]# cd /home/hadoop/ [root@ambari01 hadoop]# ll total 6325904 drwxr-xr-x 3 root root 4096 Mar 31 11:57 HDP -rw-r--r-- 1 hadoop hadoop 6477716048 Mar 31 11:55 HDP-2.4.0.0-centos6-rpm.tar.gz [root@ambari01 hadoop]# rm HDP-2.4.0.0-centos6-rpm.tar.gz rm: remove regular file `HDP-2.4.0.0-centos6-rpm.tar.gz'? y [root@ambari01 hadoop]# rm -r HDP/ rm: descend into directory `HDP'? y
[hadoop@ambari01 html]$ pwd /var/www/html [hadoop@ambari01 html]$ ll total 711644 drwxr-xr-x 3 1001 users 4096 Feb 27 2016 AMBARI-2.2.1.0 drwxr-xr-x 3 root root 4096 Mar 31 12:12 HDP -rw-r--r--. 1 hadoop hadoop 728708111 Mar 30 23:35 HDP-UTILS-1.1.0.20-centos6.tar.gz [hadoop@ambari01 html]$ sudo tar -zxvf HDP-UTILS-1.1.0.20-centos6.tar.gz
最后,将这三个都解压好之后,赋予hadoop用户和hadoop用户组。
[hadoop@ambari01 html]$ pwd /var/www/html [hadoop@ambari01 html]$ ll total 711648 drwxr-xr-x 3 1001 users 4096 Feb 27 2016 AMBARI-2.2.1.0 drwxr-xr-x 3 root root 4096 Mar 31 12:12 HDP drwxr-xr-x 3 1001 users 4096 Dec 4 2015 HDP-UTILS-1.1.0.20 -rw-r--r--. 1 hadoop hadoop 728708111 Mar 30 23:35 HDP-UTILS-1.1.0.20-centos6.tar.gz [hadoop@ambari01 html]$ rm HDP-UTILS-1.1.0.20-centos6.tar.gz rm: cannot remove `HDP-UTILS-1.1.0.20-centos6.tar.gz': Permission denied [hadoop@ambari01 html]$ su root Password: [root@ambari01 html]# rm HDP-UTILS-1.1.0.20-centos6.tar.gz rm: remove regular file `HDP-UTILS-1.1.0.20-centos6.tar.gz'? y [root@ambari01 html]# ll total 12 drwxr-xr-x 3 1001 users 4096 Feb 27 2016 AMBARI-2.2.1.0 drwxr-xr-x 3 root root 4096 Mar 31 12:12 HDP drwxr-xr-x 3 1001 users 4096 Dec 4 2015 HDP-UTILS-1.1.0.20 [root@ambari01 html]# chown -R hadoop:hadoop AMBARI-2.2.1.0/ [root@ambari01 html]# chown -R hadoop:hadoop HDP [root@ambari01 html]# chown -R hadoop:hadoop HDP-UTILS-1.1.0.20/ [root@ambari01 html]# su hadoop [hadoop@ambari01 html]$ pwd /var/www/html [hadoop@ambari01 html]$ ll total 12 drwxr-xr-x 3 hadoop hadoop 4096 Feb 27 2016 AMBARI-2.2.1.0 drwxr-xr-x 3 hadoop hadoop 4096 Mar 31 12:12 HDP drwxr-xr-x 3 hadoop hadoop 4096 Dec 4 2015 HDP-UTILS-1.1.0.20 [hadoop@ambari01 html]$
(7)再创建一个目录/var/www/html/hdp2.4/centos6/
[hadoop@ambari01 html]$ pwd /var/www/html [hadoop@ambari01 html]$ ll total 12 drwxr-xr-x 3 hadoop hadoop 4096 Feb 27 2016 AMBARI-2.2.1.0 drwxr-xr-x 3 hadoop hadoop 4096 Mar 31 12:12 HDP drwxr-xr-x 3 hadoop hadoop 4096 Dec 4 2015 HDP-UTILS-1.1.0.20 [hadoop@ambari01 html]$ sudo mkdir -p /var/www/html/hdp2.4/centos6 [hadoop@ambari01 html]$ cd /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 centos6]$ pwd /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ ll total 0 [hadoop@ambari01 centos6]$
解压后的AMBARI-2.2.1.0目录,来认识下
解压后的HDP目录,来认识下
[hadoop@ambari01 html]$ pwd /var/www/html [hadoop@ambari01 html]$ ll total 16 drwxr-xr-x 3 hadoop hadoop 4096 Feb 27 2016 AMBARI-2.2.1.0 drwxr-xr-x 3 hadoop hadoop 4096 Mar 31 12:12 HDP drwxr-xr-x 3 hadoop hadoop 4096 Mar 31 12:32 hdp2.4 drwxr-xr-x 3 hadoop hadoop 4096 Dec 4 2015 HDP-UTILS-1.1.0.20 [hadoop@ambari01 html]$ cd HDP [hadoop@ambari01 HDP]$ pwd /var/www/html/HDP [hadoop@ambari01 HDP]$ ll total 4 drwxr-xr-x 3 hadoop hadoop 4096 Mar 31 12:12 centos6 [hadoop@ambari01 HDP]$ cd centos6/ [hadoop@ambari01 centos6]$ pwd /var/www/html/HDP/centos6 [hadoop@ambari01 centos6]$ ll total 4 drwxr-xr-x 3 hadoop hadoop 4096 Mar 31 12:12 2.x [hadoop@ambari01 centos6]$ cd 2.x/ [hadoop@ambari01 2.x]$ pwd /var/www/html/HDP/centos6/2.x [hadoop@ambari01 2.x]$ ll total 4 drwxr-xr-x 3 hadoop hadoop 4096 Mar 31 12:12 updates [hadoop@ambari01 2.x]$ cd updates/ [hadoop@ambari01 updates]$ pwd /var/www/html/HDP/centos6/2.x/updates [hadoop@ambari01 updates]$ ll total 4 drwxr-xr-x 34 hadoop hadoop 4096 Mar 31 12:17 2.4.0.0 [hadoop@ambari01 updates]$ cd 2.4.0.0/ [hadoop@ambari01 2.4.0.0]$ pwd /var/www/html/HDP/centos6/2.x/updates/2.4.0.0 [hadoop@ambari01 2.4.0.0]$ ll total 2094832 drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:16 accumulo drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:17 atlas drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:12 bigtop-jsvc drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:15 bigtop-tomcat -rw-r--r-- 1 hadoop hadoop 4587 Mar 31 12:12 build_changelog.txt -rw-r--r-- 1 hadoop hadoop 549 Mar 31 12:16 build.id -rw-r--r-- 1 hadoop hadoop 6153 Mar 31 12:16 build_metadata.txt drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:12 calcite drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:15 datafu drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:16 falcon drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:15 flume drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:15 hadoop drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:15 hadooplzo drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:13 hbase -rw-r--r-- 1 hadoop hadoop 2144931840 Mar 31 12:14 HDP-2.4.0.0-centos6-m2-artifacts.tar -rw-r--r-- 1 hadoop hadoop 617 Mar 31 12:16 hdpbn.repo -rw-r--r-- 1 hadoop hadoop 894 Mar 31 12:16 hdp-partial-build.repo -rw-r--r-- 1 hadoop hadoop 579 Mar 31 12:16 hdp_private.repo -rw-r--r-- 1 hadoop hadoop 575 Mar 31 12:15 hdp_public.repo -rw-r--r-- 1 hadoop hadoop 603 Mar 31 12:12 hdp.repo drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:15 hdp-select drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:16 hive drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:17 hue drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:15 kafka drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:15 knox drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:15 mahout drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:13 oozie drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:15 phoenix drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:16 pig drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:15 ranger drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:16 repodata drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:17 RPM-GPG-KEY drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:15 slider drwxr-xr-x 6 hadoop hadoop 4096 Mar 31 12:17 slider-app-packages drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:13 spark drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:12 sqoop drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:16 storm drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:14 tez drwxr-xr-x 25 hadoop hadoop 4096 Mar 31 12:16 vrpms drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:16 zeppelin drwxr-xr-x 2 hadoop hadoop 4096 Mar 31 12:15 zookeeper [hadoop@ambari01 2.4.0.0]$
解压后的HDP-UTILS-1.1.0.20目录,来认识下
[hadoop@ambari01 html]$ pwd /var/www/html [hadoop@ambari01 html]$ ll total 16 drwxr-xr-x 3 hadoop hadoop 4096 Feb 27 2016 AMBARI-2.2.1.0 drwxr-xr-x 3 hadoop hadoop 4096 Mar 31 12:12 HDP drwxr-xr-x 3 hadoop hadoop 4096 Mar 31 12:32 hdp2.4 drwxr-xr-x 3 hadoop hadoop 4096 Dec 4 2015 HDP-UTILS-1.1.0.20 [hadoop@ambari01 html]$ cd HDP-UTILS-1.1.0.20/ [hadoop@ambari01 HDP-UTILS-1.1.0.20]$ pwd /var/www/html/HDP-UTILS-1.1.0.20 [hadoop@ambari01 HDP-UTILS-1.1.0.20]$ ll total 4 drwxr-xr-x 3 hadoop hadoop 4096 Dec 5 2015 repos [hadoop@ambari01 HDP-UTILS-1.1.0.20]$ cd repos/ [hadoop@ambari01 repos]$ pwd /var/www/html/HDP-UTILS-1.1.0.20/repos [hadoop@ambari01 repos]$ ll total 4 drwxr-xr-x 18 hadoop hadoop 4096 Dec 5 2015 centos6 [hadoop@ambari01 repos]$ cd centos6/ [hadoop@ambari01 centos6]$ pwd /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6 [hadoop@ambari01 centos6]$ ll total 80 -rwxr-xr-x 1 hadoop hadoop 14548 Nov 21 2015 epel-release-6-8.noarch.rpm drwxr-xr-x 2 hadoop hadoop 4096 Dec 4 2015 extjs drwxr-xr-x 2 hadoop hadoop 4096 Dec 4 2015 fping drwxr-xr-x 2 hadoop hadoop 4096 Dec 4 2015 ganglia drwxr-xr-x 2 hadoop hadoop 4096 Dec 4 2015 hadoop-lzo drwxr-xr-x 2 hadoop hadoop 4096 Dec 4 2015 libconfuse drwxr-xr-x 2 hadoop hadoop 4096 Dec 4 2015 lucid drwxr-xr-x 2 hadoop hadoop 4096 Dec 4 2015 lzo drwxr-xr-x 2 hadoop hadoop 4096 Dec 5 2015 mysql-connector-java drwxr-xr-x 2 hadoop hadoop 4096 Dec 4 2015 nagios drwxr-xr-x 2 hadoop hadoop 4096 Dec 4 2015 nagios-plugins drwxr-xr-x 2 hadoop hadoop 4096 Dec 4 2015 pdsh drwxr-xr-x 2 hadoop hadoop 4096 Dec 4 2015 perl drwxr-xr-x 2 hadoop hadoop 4096 Dec 5 2015 repodata drwxr-xr-x 2 hadoop hadoop 4096 Dec 4 2015 RPM-GPG-KEY drwxr-xr-x 2 hadoop hadoop 4096 Dec 4 2015 rrdtool drwxr-xr-x 2 hadoop hadoop 4096 Dec 4 2015 snappy [hadoop@ambari01 centos6]$
(8)把3个库解压后的有用包放到该目录下(/var/www/html/hdp2.4/centos6)
[hadoop@ambari01 html]$ pwd /var/www/html [hadoop@ambari01 html]$ ll total 16 drwxr-xr-x 3 hadoop hadoop 4096 Feb 27 2016 AMBARI-2.2.1.0 drwxr-xr-x 3 hadoop hadoop 4096 Mar 31 12:12 HDP drwxr-xr-x 3 root root 4096 Mar 31 12:32 hdp2.4 drwxr-xr-x 3 hadoop hadoop 4096 Dec 4 2015 HDP-UTILS-1.1.0.20 [hadoop@ambari01 html]$ su root Password: [root@ambari01 html]# chown -R hadoop:hadoop hdp2.4/ [root@ambari01 html]# ll total 16 drwxr-xr-x 3 hadoop hadoop 4096 Feb 27 2016 AMBARI-2.2.1.0 drwxr-xr-x 3 hadoop hadoop 4096 Mar 31 12:12 HDP drwxr-xr-x 3 hadoop hadoop 4096 Mar 31 12:32 hdp2.4 drwxr-xr-x 3 hadoop hadoop 4096 Dec 4 2015 HDP-UTILS-1.1.0.20 [root@ambari01 html]#
注意,不需复制太多,只需复制有用的包就好。
[hadoop@ambari01 2.2.1.0-161]$ pwd /var/www/html/AMBARI-2.2.1.0/centos6/2.2.1.0-161 [hadoop@ambari01 2.2.1.0-161]$ ll total 28 drwxr-xr-x 2 hadoop hadoop 4096 Feb 27 2016 ambari (复制过去) -rw-r--r-- 1 hadoop hadoop 568 Feb 27 2016 build.id -rw-r--r-- 1 hadoop hadoop 180 Feb 27 2016 build_metadata.txt -rw-r--r-- 1 hadoop hadoop 47 Feb 27 2016 changelog.txt drwxr-xr-x 2 hadoop hadoop 4096 Feb 27 2016 repodata drwxr-xr-x 2 hadoop hadoop 4096 Feb 27 2016 RPM-GPG-KEY (复制过去) drwxr-xr-x 2 hadoop hadoop 4096 Feb 27 2016 smartsense (复制过去) [hadoop@ambari01 2.2.1.0-161]$ cp -r /var/www/html/AMBARI-2.2.1.0/centos6/2.2.1.0-161/ambari/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.2.1.0-161]$ cp -r /var/www/html/AMBARI-2.2.1.0/centos6/2.2.1.0-161/RPM-GPG-KEY/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.2.1.0-161]$ cp -r /var/www/html/AMBARI-2.2.1.0/centos6/2.2.1.0-161/smartsense/ /var/www/html/hdp2.4/centos6/
总共复制3个
[hadoop@ambari01 2.4.0.0]$ pwd /var/www/html/HDP/centos6/2.x/updates/2.4.0.0 [hadoop@ambari01 2.4.0.0]$ ls accumulo build_changelog.txt datafu hadooplzo hdp-partial-build.repo hdp-select knox pig slider storm zookeeper atlas build.id falcon hbase hdp_private.repo hive mahout ranger slider-app-packages tez bigtop-jsvc build_metadata.txt flume HDP-2.4.0.0-centos6-m2-artifacts.tar hdp_public.repo hue oozie repodata spark vrpms bigtop-tomcat calcite hadoop hdpbn.repo hdp.repo kafka phoenix RPM-GPG-KEY sqoop zeppelin [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/accumulo/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/atlas/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/bigtop-jsvc/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/bigtop-tomcat/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/calcite/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/datafu/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/falcon/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/flume/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/hadoop/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/hadooplzo/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/hbase/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/HDP-2.4.0.0-centos6-m2-artifacts.tar /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/hdp-select/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/hive/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/hue/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/kafka/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/knox/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/mahout/ /var/www/html/hdp2.4/centos6/ [hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/oozie/ /var/www/html/hdp2.4/centos6/
[hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/phoenix/ /var/www/html/hdp2.4/centos6/
[hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/pig/ /var/www/html/hdp2.4/centos6/
[hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/ranger/ /var/www/html/hdp2.4/centos6/
[hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/RPM-GPG-KEY/ /var/www/html/hdp2.4/centos6/
[hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/slider/ /var/www/html/hdp2.4/centos6/
[hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/slider-app-packages/ /var/www/html/hdp2.4/centos6/
[hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/spark/ /var/www/html/hdp2.4/centos6/
[hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/sqoop/ /var/www/html/hdp2.4/centos6/
[hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/storm/ /var/www/html/hdp2.4/centos6/
[hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/tez/ /var/www/html/hdp2.4/centos6/
[hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/vrpms/ /var/www/html/hdp2.4/centos6/
[hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/zeppelin/ /var/www/html/hdp2.4/centos6/
[hadoop@ambari01 2.4.0.0]$ cp -r /var/www/html/HDP/centos6/2.x/updates/2.4.0.0/zookeeper/ /var/www/html/hdp2.4/centos6/
总共复制32个
[hadoop@ambari01 centos6]$ pwd /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6 [hadoop@ambari01 centos6]$ ls epel-release-6-8.noarch.rpm extjs fping ganglia hadoop-lzo libconfuse lucid lzo mysql-connector-java nagios nagios-plugins pdsh perl repodata RPM-GPG-KEY rrdtool snappy [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/epel-release-6-8.noarch.rpm /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/extjs/ /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/fping/ /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/ganglia/ /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/hadoop-lzo/ /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/libconfuse/ /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/lucid/ /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/lzo/ /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/mysql-connector-java/ /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/nagios/ /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/nagios-plugins/ /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/pdsh/ /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/perl/ /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/RPM-GPG-KEY/ /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/rrdtool/ /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ cp -r /var/www/html/HDP-UTILS-1.1.0.20/repos/centos6/snappy/ /var/www/html/hdp2.4/centos6
总共复制16个
因RPM-GPG-KEY是都有的。所以
一共是3 + 32 + 16 = 51 -2 = 49个。
[hadoop@ambari01 centos6]$ pwd /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ ls accumulo calcite flume hadoop-lzo hue lzo oozie ranger smartsense tez ambari datafu fping hbase kafka mahout pdsh RPM-GPG-KEY snappy vrpms atlas epel-release-6-8.noarch.rpm ganglia HDP-2.4.0.0-centos6-m2-artifacts.tar knox mysql-connector-java perl rrdtool spark zeppelin bigtop-jsvc extjs hadoop hdp-select libconfuse nagios phoenix slider sqoop zookeeper bigtop-tomcat falcon hadooplzo hive lucid nagios-plugins pig slider-app-packages storm [hadoop@ambari01 centos6]$
然后执行sudo createrepo /var/www/html/hdp2.4/centos6命令生成repodata
[hadoop@ambari01 centos6]$ pwd /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ ls accumulo calcite flume hadoop-lzo hue lzo oozie ranger smartsense tez ambari datafu fping hbase kafka mahout pdsh RPM-GPG-KEY snappy vrpms atlas epel-release-6-8.noarch.rpm ganglia HDP-2.4.0.0-centos6-m2-artifacts.tar knox mysql-connector-java perl rrdtool spark zeppelin bigtop-jsvc extjs hadoop hdp-select libconfuse nagios phoenix slider sqoop zookeeper bigtop-tomcat falcon hadooplzo hive lucid nagios-plugins pig slider-app-packages storm [hadoop@ambari01 centos6]$ sudo createrepo /var/www/html/hdp2.4/centos6 Spawning worker 0 with 229 pkgs Workers Finished Gathering worker results Saving Primary metadata Saving file lists metadata Saving other metadata Generating sqlite DBs Sqlite DBs complete [hadoop@ambari01 centos6]$
(9)查看并启动HTTP服务
执行sudo service httpd start启动httpd
[hadoop@ambari01 centos6]$ pwd /var/www/html/hdp2.4/centos6 [hadoop@ambari01 centos6]$ sudo service httpd status httpd is stopped [hadoop@ambari01 centos6]$ sudo service httpd start Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.80.144 for ServerName [ OK ] [hadoop@ambari01 centos6]$
(10)在地址栏输入对应地址查看本地库是否创建成功
接下来在地址栏输入http://192.168.80.144/hdp2.4/,如果能看到如下界面就表示本地源创建成功。
(11)修改本地源地址
cd /etc/yum.repos.d/
sudo wget -c http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.1.0/ambari.repo
会有下面的提示sudo: wget: command not found
执行命令sudo yum install wget下载wget
然后继续执行上一条命令下载
[hadoop@ambari01 yum.repos.d]$ pwd /etc/yum.repos.d [hadoop@ambari01 yum.repos.d]$ ll total 16 -rw-r--r--. 1 root root 1926 Nov 27 2013 CentOS-Base.repo -rw-r--r--. 1 root root 638 Nov 27 2013 CentOS-Debuginfo.repo -rw-r--r--. 1 root root 630 Nov 27 2013 CentOS-Media.repo -rw-r--r--. 1 root root 3664 Nov 27 2013 CentOS-Vault.repo [hadoop@ambari01 yum.repos.d]$ sudo wget -c http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.1.0/ambari.repo --2017-03-31 14:24:14-- http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.2.1.0/ambari.repo Resolving public-repo-1.hortonworks.com... 54.230.159.30, 54.230.159.138, 54.230.159.89, ... Connecting to public-repo-1.hortonworks.com|54.230.159.30|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 287 [binary/octet-stream] Saving to: “ambari.repo” 100%[=====================================================================================================================================================>] 287 --.-K/s in 0s 2017-03-31 14:24:15 (27.3 MB/s) - “ambari.repo” saved [287/287] [hadoop@ambari01 yum.repos.d]$ ll total 20 -rw-r--r-- 1 root root 287 Feb 27 2016 ambari.repo -rw-r--r--. 1 root root 1926 Nov 27 2013 CentOS-Base.repo -rw-r--r--. 1 root root 638 Nov 27 2013 CentOS-Debuginfo.repo -rw-r--r--. 1 root root 630 Nov 27 2013 CentOS-Media.repo -rw-r--r--. 1 root root 3664 Nov 27 2013 CentOS-Vault.repo [hadoop@ambari01 yum.repos.d]$
下载完成之后,修改如下内容
#VERSION_NUMBER=2.2.1.0-161 [Updates-ambari-2.2.1.0] name=ambari-2.2.1.0 - Updates baseurl=http://192.168.80.144/hdp2.4/centos6/ gpgcheck=0 gpgkey=http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1
OK,到此为止我们的本地库就部署成功了。
作者:大数据和人工智能躺过的坑
出处:http://www.cnblogs.com/zlslch/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文链接,否则保留追究法律责任的权利。
如果您认为这篇文章还不错或者有所收获,您可以通过右边的“打赏”功能 打赏我一杯咖啡【物质支持】,也可以点击右下角的【好文要顶】按钮【精神支持】,因为这两种支持都是我继续写作,分享的最大动力!