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.

Building rpm from HDP tar.gz

Solved Go to solution
Highlighted

Building rpm from HDP tar.gz

Contributor

Is there a source which makes rpm from “HDP tar.gz” like “Bigtop”?

I am using ambari and HDP. I want to change some part of HDP and make rpm. Do I have to customize Bigtop or rpmbuild to make rpm?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Building rpm from HDP tar.gz

New Contributor

It doesn't appear to be possible to build RPMs from the SRPMs provided in the repo. (I have tried this with several of the SRPMs and none have succeeded.) There appears to be an external build tool that is providing additional support to the SRPMs.

It would not be possible to support a patched/rebuilt set of RPMs, so this may be by design. Only patches/updates distributed by Hortonworks can be supported for production use.

6 REPLIES 6

Re: Building rpm from HDP tar.gz

I was under the impression that RPM were built from Maven directly.

@jeff sposetti, Do you confirm ?

Olivier

Re: Building rpm from HDP tar.gz

Master Collaborator

I doubt if you can build rpm on your own easily as HDP uses custom packaging scheme /usr/hdp/<version>/<component>. I don't think Maven is used to build these. @ashish@hortonworks.com, @gkesavan@hortonworks.com can you confirm?

Re: Building rpm from HDP tar.gz

New Contributor

It doesn't appear to be possible to build RPMs from the SRPMs provided in the repo. (I have tried this with several of the SRPMs and none have succeeded.) There appears to be an external build tool that is providing additional support to the SRPMs.

It would not be possible to support a patched/rebuilt set of RPMs, so this may be by design. Only patches/updates distributed by Hortonworks can be supported for production use.

Re: Building rpm from HDP tar.gz

New Contributor

1295-hortonworks.png

From Hortonworks's Release Notes, It seems that third party are not allowed to patch hortonworks.

This link may be the right solution How Bigtop Leveraged Docker for Build Automation and One-Click Hadoop Provisioning .

From my point of view , Hortonworks doesn't opensource its building script for 'unknown' reasons.

Re: Building rpm from HDP tar.gz

New Contributor

hi,@Saptak Sen,had you find the way to build RPM?

I need to build the new hadoop stack too.Can you give me some advices?

Re: Building rpm from HDP tar.gz

New Contributor

@Saptak Sen sry but have u already known how to build rpm with hdp git opensource?glad for your reply