Support Questions

Find answers, ask questions, and share your expertise

How to create local HDP repository for production server? Please provide proper steps.

New Contributor

How to create local HDP repository for production server? Please provide proper steps.

Provided step are proper but some time RPO is failing.

3 REPLIES 3

Super Mentor

@Atul Yadav

Can you please provide more details about what do you mean by "some time RPO is failing." any error / exception?

The Following link provides the detailed steps to configure the local repo setup: https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-installation-ppc/content/getting_...



Basically it involves the following steps:

1. Installing the "yum-utils, createrepo" packages.

# yum install yum-utils createrepo


2. Creating a directory on WebServer (httpd) with "followsymlinks" enabled.

# mkdir -p /var/www/html/


3. Get the HDP repository from HDP repo "tar.gz" file from https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-installation/content/hdp_26_repos...

4. Copy the repository tarballs to the web server directory and untar inside the following dir:

# cd /var/www/html/


For HDP Create directory and untar under <web.server.directory>/hdp

So that the extarcted path of the HDP repo after extracting should be something so that we can access the "baseurl" of our local repo with the following URL:

http://<web.server>/hdp/HDP/centos7/2.x/updates/<latest.version>;




For IBM Power Systems: https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-installation-ppc/content/setting_...

.

New Contributor

@Atul Yadav Please check this video blog . https://youtu.be/IZ-6nxplg3M

Explorer

@Jay Kumar SenSharma and @Hadoop Engineering; Any guidance on using local repos over https?

I have created local repos for my production cluster using https instead of http; the Ambari is unable to validate the repos over https. Any directions/guidance on how i can do that?

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.