Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error when creating repository in GCS bucket #54984

Open
shashankdk opened this issue Jan 13, 2025 · 0 comments
Open

[BUG] Error when creating repository in GCS bucket #54984

shashankdk opened this issue Jan 13, 2025 · 0 comments
Labels
type/bug Something isn't working

Comments

@shashankdk
Copy link

Description

I encountered an error when creating a backup repository in a GCS bucket.

Steps to Reproduce:

  1. Run the following SQL command:
    CREATE REPOSITORY test_repo WITH BROKER ON LOCATION "s3a://starrocks_poc_1/backup" PROPERTIES( "fs.s3a.access.key" = "XXXX", "fs.s3a.secret.key" = "R+YYY", "fs.s3a.endpoint" = "storage.googleapis.com" );

Error Observed:- ''' ERROR 5064 (42000): Failed to create repository: failed to list remote path: s3a://starrocks_poc_1/__starrocks_repository_test_repo/__repo_info. msg: java.lang.IllegalArgumentException: bucket is null/empty '''

Expected Behavior
The repository should be created successfully in the specified GCS bucket.

Environment:
Application: Docker starrocks/allin1-ubuntu
Docker command used : docker run -p 9030:9030 -p 8030:8030 -p 8040:8040 -itd --name quickstart starrocks/allin1-ubuntu

Additional Info:- The access key, secret key, and bucket name are correct, as I have successfully used these credentials to run docker-compose up with starrocks-fe and starrocks-cn configured to use shared storage on GCS.

@shashankdk shashankdk added the type/bug Something isn't working label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant