Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

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
Highlighted

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

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_...

.

Highlighted

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

New Contributor

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

Highlighted

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

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?

Don't have an account?
Coming from Hortonworks? Activate your account here