This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Page tree
Skip to end of metadata
Go to start of metadata

If you are a Java Developer and interested in contributing to Apache Ranger Project ?


Download the Apache Ranger Project  

You should be able to pull the Apache Ranger code into your local machine.

git clone

Alternatively, the git repo is automatically mirrored on github at:  

You can fork that repository, commit changes to your fork, and submit pull requests through GitHub's pull request mechanisms.

You can find the ways to build and deploy the code from Quick Start Guide. You can get further information about Apache Ranger from the Project Home Page.

Subscribe to Apache Ranger Development Community

Also, Developer mailing list is a good resource for gaining knowledge about the current features being discussed/designed for the release.

You can subscribe to developer mailing list by sending mail to 

Are you ready to work on some code ?

If you are new person to Apache, please create a new account in Apache JIRA page. Once you have a valid Apache JIRA user account, 

  1. Login into JIRA Page for Apache Ranger
  2. Review all unassigned JIRA(s)  that are of your interest and pick a JIRA to work on.
  3. Send a note to dev community  via to have a PMC member assign the JIRA to you.
  4. Once the JIRA is assigned to you, you can work on the Apache Ranger source on your local repo - to resolve the JIRA.

  5. Configure your git to use your username and email address. So when the patch is created, it will have your information and the code will have your credit.
  6. After the JIRA is resolved, you can commit the changes to your local repo with commit comment with Apache JIRA number as follows: 

    $ git add <modified|add|deleted-files>
    $ git commit -m "RANGER-<JIRANUMBER>: <description of the JIRA fix>"
  7. After you committed your change into your local repo, you should be able to create a patch using the following command: 
    $ git format-patch -n HEAD~

    This command should create a git patch file under the current directory. Attach the patch file to the Apache JIRA and provide your comment about the solution. An Apache Ranger committer should be able to review your patch and provide feedback or commit to Apache Ranger.

    If you have issues applying the patch correctly, please do the following:

    git config diff.noprefix false

    For additional information, please refer to discussions in RANGER-1739


  8. You should upload the patch in Steps are:

    1. Create an account in review board

    2. Click on "New Review Request"

    3. Search for "ranger" in the repository at the left

    4. Upload your patch file

    5. Give name and description. Add Apache JIRA # in review request title/name

    6. On the right side, give the JIRA number, select  group "ranger" 
    7. And publish the request.
    8. Attach the patch to Apache JIRA
    9. Provide the link to the review request in Apache JIRA
    10. Mark the fix version appropriately (if you know)
    11. If the patch is accepted, then one of the committers will commit your code.
    12. Update the JIRA with commit link once the patch is reviewed and committed
    13. Mark the review request as closed once the patch is committed
  9. For pulling latest source changes from Apache Ranger, you can execute the following command to get latest code changes from remote Apache repo to your local repo:

    $ git pull
  10. FOR COMMITTERS: Those committing contributed code, please follow the below processafterapproving the code

    #Test whether the patch can be applied without errors
    git apply --check RANGER-xyz.patch
    #Apply the patch
    git am --signoff RANGER-xyz.patch
    #Push the changes
    git push

If you have any questions related to Apache Ranger development questions, please feel free to contact dev group via email - .

  • No labels