Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Do we have instructions on how to compile the component code using Hortonworks source code?

avatar
Super Collaborator
 
1 ACCEPTED SOLUTION

avatar
New Member

Steps to build a release version of Hortonworks component.

Component details in question.

Component Name = Hadoop

Release Version = 2.3.4.0

Tools Needed:

Maven = 3.1.1

Java = 1.7+

Steps:

1. Ensure Java and Maven is in path.

2. Get the code to your local linux machine, say workspace.

$ git clone git@github.com:hortonworks/hadoop-release.git -b HDP-2.3.4.0-tag

Hortonworks maintain <component>-release tags for all the public releases.

3. Point maven settings.xml to http://repo.hortonworks.com/content/groups/public/

4. Go to the synced workspace and issue below command

$ maven clean -DskipTests -DskipITs install

Cheers,

-Vijay.

View solution in original post

2 REPLIES 2

avatar
Master Mentor

What exactly are you trying to compile?

avatar
New Member

Steps to build a release version of Hortonworks component.

Component details in question.

Component Name = Hadoop

Release Version = 2.3.4.0

Tools Needed:

Maven = 3.1.1

Java = 1.7+

Steps:

1. Ensure Java and Maven is in path.

2. Get the code to your local linux machine, say workspace.

$ git clone git@github.com:hortonworks/hadoop-release.git -b HDP-2.3.4.0-tag

Hortonworks maintain <component>-release tags for all the public releases.

3. Point maven settings.xml to http://repo.hortonworks.com/content/groups/public/

4. Go to the synced workspace and issue below command

$ maven clean -DskipTests -DskipITs install

Cheers,

-Vijay.