Skip to content

[FEATURE] Add HA mechanism to CLI #6580

Open
@Abyss-lord

Description

@Abyss-lord

Describe the feature

Currently, the CLI can specify the address of the service to connect to via the 'uri' parameter, otherwise http://localhost:8090 is used by default. We expect Gravitino to introduce HA mechanisms similar to Hive Metastore, When deploying multiple services, we expect to automatically connect to the currently available Gravitino server.

Motivation

No response

Describe the solution

Add a new parameter. for example:

gravitino.server.webserver.uris = http://localhost:8090,http://localhost:8090 

and Add a polling mechanism to the 'GravitinoClientBase' class to automatically select the currently available Gravitino service as the target.

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions