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?

Expert Contributor
 
1 ACCEPTED SOLUTION

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

Mentor

What exactly are you trying to compile?

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.

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