Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

2.3 KB
Raw Blame

Apache Gravitino Command Line Interface

Apache Gravitino CLI is a command-line tool that interacts with the Gravitino server to manage and query entities like metalakes, catalogs, schemas, and tables. The tool provides options for listing information about Gravitino entities and in future versions support creating, deleting, and updating these entities.

Table of Contents

Installation

Prerequisites

Before you can build and run this project, it is suggested you have the following installed:

  • Java 8 or higher

Build the Project

  1. Clone the entire Gravitino repository:

    git clone https://github.com/apache/gravitino
    
  2. Build the CLI sub-project using Gradle:

    ./gradlew :clients:cli:build
    
  3. Test the command:

    cd /path/to/gravitino
    bin/gcli.sh --help
    

Running Tests

This project includes a suite of unit tests to verify its functionality.

To run the tests, execute the following command:

./gradlew :clients:cli:test

Contributing

We welcome contributions to the Gravitino CLI!

License

This project is licensed under the Apache License 2.0.