dimas-b commented on code in PR #3996: URL: https://github.com/apache/polaris/pull/3996#discussion_r3032855374
########## polaris-core/src/main/java/org/apache/polaris/core/storage/gcp/GcpCredentialsStorageIntegration.java: ########## Review Comment: Hi @varunarya002 ! I did a quick test in my env. with an HNS bucket in GCS, but unfortunately, I hit a 403 when Polaris tries to write metadata: Catalog: ``` curl -H "Authorization: Bearer $POLARIS_TOKEN" -H 'Content-Type: application/json' -X POST http://localhost:8181/api/management/v1/catalogs -d '{"type":"INTERNAL","name":"polaris","properties":{"default-base-location":"gs://***"},"storageConfigInfo":{"storageType":"GCS", "hierarchicalNamespace":true}}' ``` In Spark: ``` create table ns.t1 (n string); ``` Polaris log: ``` 2026-04-03 09:15:35,895 INFO [org.apa.pol.ser.exc.IcebergExceptionMapper] [06b3d4a3-10a0-49be-a783-61f624b0603d_0000000000000000011,POLARIS] [,,,] (executor-thread-1) Handling runtimeException 403 Forbidden |> PUT https://storage.googleapis.com/upload/storage/v1/b/***/o?name=ns/t1/metadata/00000-5cf5ef8c-cf72-4a3e-95d1-964d8d2e36e3.metadata.json&uploadType=resumable&upload_id=*** |> content-range: bytes 0-722/723 |> x-goog-hash: **** |> x-goog-gcs-idempotency-token: **** | |< HTTP/1.1 403 Forbidden |< content-length: 552 |< content-type: application/json; charset=UTF-8 |< x-guploader-uploadid: **** | ``` I did not debug the code, though 😅 Did I miss anything in the config? Do you have any suggestions for how to use the new feature? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
