...
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:
- There is a file under intellij – generally where intellij – generally where you have installed/downloaded intellij.
- 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.
- Edit this file, there is a property called
idea.max.intellisense.filesize=2500 -- set this value to 5000
- 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:
- Fork apache/hadoop github repository (first time)
- Create a new Jira in HDDS project (eg. HDDS-1234)
- Create a local branch for your contribution (eg. git checkout \-b HDDS-1234)
- Create your commits and push your branches to your personal fork.
- Create a pull request on github UI (please include the Jira ID in the summary)
- Set the Jira to "Patch Available" state
...
Issues with ozone label will be picked by a a test script executor, the results will be posted as github checks and saved to a dedicated repository.
...