Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To build the ozone/hdds subprojects, use the pom.ozone.xml from the main hadoop repository of hadoop-ozone.

Code Block
git clone https://github.com/apache/hadoop-ozone.git
cd hadoop-ozone
mvn clean install package -DskipShade -DskipRecon -DskipTests

The result can be found under the hadoop -ozone/dist project:

Code Block
cd hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT

...

Intellij may not picking up protoc generated classes as they can be very huge. If the protoc files can't be compiled try the try the following:

  1. There is a file under intellij – generally where intellij – generally where you have installed/downloaded intellij.
  2. This file is called  /Applications/idea/idea.app/Contents/bin/idea.properties under MacOS and generally under generally under your home directory if you are on Linux.
  3. Edit this file, there is a property called
  4. idea.max.intellisense.filesize=2500 -- set this value to 5000

  5. Restart Intellij, this assumes that your editor/ machine has enough RAM to process this file.

...

We prefer to use github pull requests instead of uploading patches to JIRA. The main contribution workflow is the is the following:

  1. Fork apache/hadoop github repository (first time)
  2. Create a new Jira in HDDS project (eg. HDDS-1234)
  3. Create a local branch for your contribution (eg. git checkout \-b HDDS-1234)
  4. Create your commits and push your branches to your personal fork.
  5. Create a pull request on github UI (please include the Jira ID in the summary)
  6. Set the Jira to "Patch Available" state

...

Issues with ozone label will be picked by a test script executor,  the results will be posted as github checks and saved to a dedicated repository.

...