Contributing to Apache Gravitino
September 24, 2025 Β· View on GitHub
Welcome! This guide will help you get started contributing to Apache Gravitino, whether you're filing an issue, improving documentation, or submitting code.
Gravitino welcomes all kinds of contributionsβincluding code (Java, Python), documentation, testing, design, and feedback. Your involvement helps strengthen the project.
Apache Gravitino is a metadata and data lake federation layer for AI and analytics. It graduated from the Apache Software Foundation's Incubator in June 2025 and is now a top level project maintained by a growing community.
Gravitino follows ASF-wide contribution and governance practices. Project-specific workflows are explained where they differ.
Please review the following guidelines for a smooth contribution process.
π Table of Contents
- π Project Overview and Policies
- π¬ Community and Communication
- π Code of Conduct
- π¬ How Decisions Are Made
- π± Growing Your Involvement
- π§ͺ Continuous Integration
- π Need Help?
- π Getting Started
- ποΈ Quick Start for First-Time Contributors
- π Making Contributions
- π Contributing to Design and Documentation
- π Reviewing and Triaging Contributions
- π Creating Pull Requests
- π» Setting Up Development Environment
- π§° Setting Up Your IDE (Optional)
- π‘ Tips for WSL Users
- βοΈ Build Profiles and JDK Requirements
- π¨ Formatting Code with Spotless
- ποΈ File Structure Overview
- π§ͺ Writing and Running Tests
- π§± Following Coding Standards
- π Managing Dependencies
- π‘οΈ Performing Compliance and Legal Checks
- π License
- π Reporting Security Issues
- π Acknowledging Contributors
- π Glossary
π Project Overview and Policies
- Overview: See the Gravitino website and README.md.
- Governance: See GOVERNANCE.md.
- Roadmap: See ROADMAP.md.
Apache Gravitino is a Top-Level Project of the ASF.
π¬ Community and Communication
Gravitino is a collaborative project. We encourage open communication and transparent decision-making. You can:
- Subscribe to the developer mailing list:
dev@gravitino.apache.org - Discuss issues via GitHub Issues
- Join discussions via ASF Slack (invite link: https://s.apache.org/slack-invite)
Please follow the ASF Code of Conduct in all interactions.
π Code of Conduct
We are committed to fostering a welcoming and inclusive community. Please review and adhere to our Code of Conduct in all project spaces.
π¬ How Decisions Are Made
Gravitino uses Apacheβs consensus-based decision-making. Most decisions happen on the dev@ mailing list or via GitHub PR discussions.
π± Growing Your Involvement
Contributors who participate actively and constructively may be invited to become committers or join the PMC. Merit is earned through consistent contributions and community engagement.
π§ͺ Continuous Integration
All PRs are automatically tested using GitHub Actions. Please check test results and fix failures before requesting a review.
π Need Help?
If you're stuck, ask on the dev@ mailing list or open a GitHub Discussion. We're here to help.
π Getting Started
Fork the Repository
Click the "Fork" button on GitHub or use:
git clone https://github.com/apache/gravitino.git
cd gravitino
Check out the ASF New Contributor Guide for an overview of how ASF projects work.
ποΈ Quick Start for First-Time Contributors
- Fork and clone the repository
- Build the project using how to build
- Pick an issue or start a discussion
- Submit a pull request and collaborate with reviewers
π Making Contributions
We welcome all types of contributions:
- Code β bug fixes, new features, refactoring, integrations
- If you're adding or updating a connector, catalog, or integration, please discuss it on the dev@ mailing list first.
- Documentation β tutorials, guides, references
- Review β triage and review issues and PRs
- Community β answer questions, join discussions
Look for good first issues to get started. Discuss plans on GitHub or the dev@ mailing list. Small pull requests are easiest to review.
π Contributing to Design and Documentation
Design and documentation are essential to Gravitinoβs usability and growth.
You can contribute by:
- Improving documentation in
docs/ - Clarifying APIs and references
- Reviewing documents for accuracy
- Submitting mockups or usability suggestions
π Reviewing and Triaging Contributions
Reviewing and triaging helps maintain the project. You can:
- Reproduce bugs and confirm issues
- Add labels to categorize
- Suggest improvements on PRs
- Review code and give feedback
π Creating Pull Requests
- Use feature branches
- Write clear commit messages and PR descriptions
- Link to issues (e.g.,
Fixes #123) - Respond to reviewer feedback
π» Setting Up Development Environment
Follow how to build or use Apache DockerHub. Start Gravitino with:
bin/gravitino.sh start
bin/gravitino.sh stop
You can also build manually with:
./mvnw clean install
π§° Setting Up Your IDE (Optional)
Import Gravitino into IntelliJ IDEA or Eclipse as a Gradle project.
π‘ Tips for WSL Users
If using WSL on Windows, install Java and dev tools inside WSL. Access files via /mnt/c/... paths.
βοΈ Build Profiles and JDK Requirements
Gravitino uses Maven profiles for Scala:
-Pscala-2.12for Scala 2.12-Pscala-2.13for Scala 2.13 (default)
Gravitino supports JDK 17.
π¨ Formatting Code with Spotless
We use Spotless for code formatting. Run:
./gradlew spotlessApply
ποΈ File Structure Overview
Key directories in the Gravitino repo:
api/,clients/,core/,server/β Main componentsdocs/,rfc/β Documentation and designconf/,bin/β Configs and scriptscatalogs/,spark-connector/,trino-connector/β Integrations
π§ͺ Writing and Running Tests
Add or update tests in your PR. Test open PRs locally to help maintainers.
π§ Following Coding Standards
- Follow Java and Python idioms
- Include useful comments
- Keep methods and classes focused
- Format with Spotless
π¦ Managing Dependencies
- Avoid unnecessary dependencies
- Prefer well-maintained libraries
- Discuss major additions on dev@
π‘οΈ Performing Compliance and Legal Checks
Before contributing:
- Review ASF License and IP Guidelines
- Ensure all code is original or properly licensed and compatable with the Apache License
π License
Contributions are under the Apache License 2.0.
If contributing on behalf of an employer or regularly, you may need to submit an ICLA. See ASF Contributor FAQs.
Official repo: https://github.com/apache/gravitino
π Reporting Security Issues
To report a vulnerability, follow the SECURITY.md instructions. Responsible disclosure is appreciated and handled per ASF guidelines.
π Acknowledging Contributors
Contributors are recognized in release notes. All types of contributions are valued.
See the full list of contributors on GitHub: https://github.com/apache/gravitino/graphs/contributors
π Glossary
- ASF: Apache Software Foundation
- ICLA: Individual Contributor License Agreement
- PMC: Project Management Committee
- RAT: Release Audit Tool
- Spotless: Code formatter
- CI: Continuous Integration
- PR: Pull Request
- WSL: Windows Subsystem for Linux
- TLP: Top-Level Project
- dev@ list: Primary development mailing list
- AI: Artificial Intelligence
- IDE: Integrated Development Environment