Thursday, May 21, 2015

Hortonworks HDP installation using LocalRepo

Hadoop.HDP.Installation.LocalRepo
1.     Introduction
This document describes how to create a local YUM repository to install HDP on the machines in your cluster.

2.     Installation
1.     Login your YUM local repository server
2.     Download the repo file and save it in /etc/yum.repos.d
·         RHEL/CentOS/Oracle 6
·         Ambari 2.2.2.0
·         HDP 2.4.2.0
·         HDP Utility 1.1.0.20
·    RHEL/CentOS/Oracle 7
·         Ambari 2.2.2.0
·         HDP 2.4.2.0
·         HDP Utility 1.1.0.20
             Install httpd package to setup the web server
yum install httpd
service httpd start
service iptables stop
chkconfig httpd on
chkconfig iptables off
             Install YUM utilities package and createrepo package
yum install yum-utils
yum install createrepo
             Synchronize remote yum repository to your local yum repository
mkdir -p /var/www/html/repo/hdp
reposync -d -g -r "Updates-ambari-2.2.2.0"   ##have issues
reposync -d -r "Updates-ambari-2.2.2.0"
reposync -d -r "HDP-2.4.2.0"



       Reference
·         Creating a Local Yum Repository
·         Creating a Local Parcel Repository
·         Cloudera Manager RPM Repo (Section: Establish Your Cloudera Manager Repository Strategy)
·         Cloudera CDH 5.7.1 RPM Repo
·         Cloudera CDH 5.7.1 Parcel Repo