You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Developers Quick Hack Sheet

Get the Code

git clone https://github.com/apache/flume.git flume-local
cd flume-local
git checkout trunk

for a particular release:

git clone https://github.com/apache/flume.git flume-local
cd flume-local
git checkout <RELEASE>

Work With Your Code

  • Make your code changes
  • Test. Test again and we forget to mention: Test
  • If your code change works make a patch
git diff --no-prefix > /Path/to/your/patch/JIRA-ID.patch
  • If you want to work at other patches, go and stash your work:
git stash (will save your branch and reset the working directory)
  • Attach the JIRA-ID.patch to the Jira
  • Open a review request at https://reviews.apache.org against flume-git
    • Fill in the field Bug-ID the Jira-ID to link both together
    • Explain your code
    • Add unit tests
      • please note, patches without a working unit test will be rejected and not commited
    • fill out all the fields
    • Check your Diff by clicking "View Diff"
      • if you see some red fields, check your syntax and fix this please
    • review your request
    • publish
  • Post the review link into the Jira
  • Write Notes into the Jira, regarding your work

Known Build Issues

Exception in thread "MainThread" java.lang.OutOfMemoryError: PermGen space

Maven2 Issue, start your build with:

MAVEN_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m" mvn package -DskipTests

Jira: FlUME-1256

Thank you for contributing Flume!

  • No labels