You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "nqvuong1998 (via GitHub)" <gi...@apache.org> on 2025/08/04 09:59:07 UTC

[I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

nqvuong1998 opened a new issue, #7919:
URL: https://github.com/apache/gravitino/issues/7919

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   When I create an S3 fileset catalog with the following properties, Gravitino appears that I am using path-style access for S3-compatible (Ceph RGW), but the S3 fileset does not support it
   
   ### Error message and/or stacktrace
   
   I encounter the following error: Caused by: org.apache.hadoop.fs.s3a.AWSClientIOException: getFileStatus Name or service not known
   
   ### How to reproduce
   
   `
        "s3-access-key-id": "...",
       "s3-secret-access-key": "...",
       "s3-endpoint": ...,
       "filesystem-providers": "s3",
       "credential-providers": "s3-token",
       "s3-region": "us-east-1",
       "s3-role-arn": "...",
       "s3-path-style-access": "true",
       "s3-creds-provider": "s3-token"
   `
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "nqvuong1998 (via GitHub)" <gi...@apache.org>.
nqvuong1998 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3153043558

   Hi @yuqi1129 
   1. It shows `Caused by: com.amazonaws.SdkClientException: Unable to execute HTTP request: nprod-dev-spark-artifacts.lbrgw.ceph-nonprod-pdc.hcnet.vn: Name or service not known`
   2. Yes, Ceph RGW supports Credentials Vending through STS token, I am using Ceph RGW with Iceberg REST Catalog


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3163389685

   > And this is my conf to test:
   > 
   > ```
   > curl -X POST -H "Accept: application/vnd.gravitino.v1+json" \
   > -H "Content-Type: application/json" -d '{
   >   "name": "test_catalog",
   >   "type": "FILESET",
   >   "comment": "This is a S3 fileset catalog",
   >   "provider": "hadoop",
   >   "properties": {
   >     "s3-access-key-id": "abc",
   >     "s3-secret-access-key": "xyz",
   >     "s3-endpoint": "https://ceph.local",
   >     "filesystem-providers": "s3",
   >     "s3-region": "us-east-1",
   >     "s3-path-style-access": "true"
   >   }
   > }' https://gravitino/local/api/metalakes/metalake/catalogs
   > 
   > curl -X POST -H "Accept: application/vnd.gravitino.v1+json" \
   > -H "Content-Type: application/json" -d '{
   >   "name": "test_schema",
   >   "comment": "This is a S3 schema"
   > }' https://gravitino.local/api/metalakes/metalake/catalogs/test_catalog/schemas
   > 
   > curl -X POST -H "Accept: application/vnd.gravitino.v1+json" \
   > -H "Content-Type: application/json" -d '{
   >   "name": "test_fileset",
   >   "comment": "This is an example fileset",
   >   "type": "EXTERNAL",
   >   "storageLocation": "s3a://bucket/events"
   > }' https://gravitino.local/api/metalakes/metalake/catalogs/test_catalog/schemas/test_schema/filesets
   > ```
   
   Which command fails to run and what's the error stack?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "nqvuong1998 (via GitHub)" <gi...@apache.org>.
nqvuong1998 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3163406225

   At the Gravition server, I see stdout logs:
   ```
   Caused by: java.net.UnknownHostException: bucket.ceph.local: Name or service not known 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "nqvuong1998 (via GitHub)" <gi...@apache.org>.
nqvuong1998 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3149918038

   cc @yuqi1129 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3153092606

   > Yes, Ceph RGW supports Credentials Vending through STS token, I am using Ceph RGW with Iceberg REST Catalog
   
   
   I'm quite puzzled. What on earth do you use? Is the Iceberg REST catalog with S3 or S3 filesets?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "nqvuong1998 (via GitHub)" <gi...@apache.org>.
nqvuong1998 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3163398739

   It returns:
   ```
   <html>
   <head><title>504 Gateway Time-out</title></head>
   <body>
   <center><h1>504 Gateway Time-out</h1></center>
   <hr><center>nginx</center>
   </body>
   </html>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "nqvuong1998 (via GitHub)" <gi...@apache.org>.
nqvuong1998 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3163338124

   <img width="1132" height="183" alt="Image" src="https://github.com/user-attachments/assets/cfe8be0d-9e63-42c3-a1e6-42c4d69a3ed2" />
   
   I use default docker image: apache/gravitino:0.9.2, do I need to add more libs for hadoop/aws/s3 to default docker image?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "nqvuong1998 (via GitHub)" <gi...@apache.org>.
nqvuong1998 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3584734160

   Hi @yuqi1129 , do you have any update for this issue?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3153012447

   1. Can you provide the full stack of error messages here?
   2.  It seems that you are trying to use `s3-token`, does `Ceph RGW` support s3-style token, and whether the protocol compatible?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "nqvuong1998 (via GitHub)" <gi...@apache.org>.
nqvuong1998 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3163349824

   And this is my conf:
   `
   curl -X POST -H "Accept: application/vnd.gravitino.v1+json" \
   -H "Content-Type: application/json" -d '{
     "name": "test_catalog",
     "type": "FILESET",
     "comment": "This is a S3 fileset catalog",
     "provider": "hadoop",
     "properties": {
       "s3-access-key-id": "abc",
       "s3-secret-access-key": "xyz",
       "s3-endpoint": "https://ceph.local",
       "filesystem-providers": "s3",
       "s3-region": "us-east-1",
       "s3-path-style-access": "true"
     }
   }' https://gravitino/local/api/metalakes/metalake/catalogs
   
   curl -X POST -H "Accept: application/vnd.gravitino.v1+json" \
   -H "Content-Type: application/json" -d '{
     "name": "test_schema",
     "comment": "This is a S3 schema"
   }' https://gravitino.local/api/metalakes/metalake/catalogs/test_catalog/schemas
   
   curl -X POST -H "Accept: application/vnd.gravitino.v1+json" \
   -H "Content-Type: application/json" -d '{
     "name": "test_fileset",
     "comment": "This is an example fileset",
     "type": "EXTERNAL",
     "storageLocation": "s3a://bucket/events"
   }' https://gravitino.local/api/metalakes/metalake/catalogs/test_catalog/schemas/test_schema/filesets
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3584759849

   > Hi [@yuqi1129](https://github.com/yuqi1129) , do you have any update for this issue?
   
   No, there are no Ceph RGW clusters available for us, and we are unable to test its compatibility of it. 
   
   By the way, have you tried to use the Hadoop FileSystem client to connect to your cluster? I believe once you do it and test it works well, there should be no problem for Gravitino.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "nqvuong1998 (via GitHub)" <gi...@apache.org>.
nqvuong1998 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3153215206

   @yuqi1129 , I only want to show you that Ceph RGW AssumeRole (STS) work! Currently, I deploy a Iceberg REST Catalog with Ceph RGW and I want to create external s3 fileset on my warehouse


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3155081993

   > [@yuqi1129](https://github.com/yuqi1129) yah, I want to use Hadoop Catalog to make easier to read Ceph RGW as Hadoop Compatible File System. Therefore, I try to set up some conf follow docs, but I struggle with path-style-access Ceph RGW connection. Does Hadoop Catalog for S3 support path style access conf?
   
   I see. As far as I can see, we haven't fully tested the compatibility with using filesets to manage Ceph RGW. Please provide me with information about the details of Ceph RGW, I will take the time to test it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "nqvuong1998 (via GitHub)" <gi...@apache.org>.
nqvuong1998 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3163313033

   @yuqi1129 I am using a Ceph RGW v18.2.7 service, but it is not managed by me. Can you provide some configuration examples for integrating with other S3-compatible services like MinIO (allowing path-style access)?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3163321059

   > [@yuqi1129](https://github.com/yuqi1129) I am using a Ceph RGW v18.2.7 service, but it is not managed by me. Can you provide some configuration examples for integrating with other S3-compatible services like MinIO (allowing path-style access)?
   
   We have tested that Gravitino can work with MinIO, please see https://github.com/apache/gravitino/issues/6156


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3163387146

   > <img alt="Image" width="1132" height="183" src="https://private-user-images.githubusercontent.com/49333414/475504498-cfe8be0d-9e63-42c3-a1e6-42c4d69a3ed2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NTQ1NjA5ODYsIm5iZiI6MTc1NDU2MDY4NiwicGF0aCI6Ii80OTMzMzQxNC80NzU1MDQ0OTgtY2ZlOGJlMGQtOWU2My00MmMzLWExZTYtNDJjNGQ2OWEzZWQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA4MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwODA3VDA5NTgwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEyMDIxMDU0MDI4MTg0YzY5ODM5MmI2YmMwNmQyNGIyOTg3YTA2ZTQzYmFjNzgwNjYxZTRjYjM0NDcyOTFiOTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.dj5NhlhhHNpQ7KA3Wjp9j3if79nDX_B_WKiuvgjtBeo">
   > I use default docker image: apache/gravitino:0.9.1, do I need to add more libs for hadoop/aws/s3 to default docker image?
   
   No, that is enough.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3155057934

   > I deploy a Iceberg REST Catalog with Ceph RGW and I want to create external s3 fileset on my warehouse
   
   I want to determine if you are using the iceberg rest catalog that stores data into s3 protocol compatible stoarge Ceph RGW or just using fileset catalog. 
   
   Please refer to the differences between these two catalogs.
   - https://gravitino.apache.org/docs/0.9.1/hadoop-catalog
   - https://gravitino.apache.org/docs/0.9.1/iceberg-rest-service


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] Can not create fileset with Ceph RGW [gravitino]

Posted by "nqvuong1998 (via GitHub)" <gi...@apache.org>.
nqvuong1998 commented on issue #7919:
URL: https://github.com/apache/gravitino/issues/7919#issuecomment-3155069824

   @yuqi1129 yah, I want to use Hadoop Catalog to make easier to read Ceph RGW. I try to set up some conf follow docs, but I struggle with path-style-access Ceph RGW connection. Does Hadoop Catalog for S3 support path style access conf?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org