Support Questions

Find answers, ask questions, and share your expertise

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

avatar
Super Collaborator
 
1 ACCEPTED SOLUTION

avatar
Explorer

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
Explorer

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.