Here is the error we get when we try to read Data from Reflection:
software.amazon.awssdk.services.s3.model.S3Exception: The authorization header is malformed; the
region ‘us-east-1’ is wrong; expecting ‘bhs’ (Service: S3, Status Code: 400, Request ID:
tx22fe877545b84c10af5fe-005fce53e4)
We are using compatibility mode of S3. Everything else works fine except when trying to use reflections.
We are using Dremio(v 11) with Kubernetes with following additional properties with AWS distributed Storage:
Initially We have added the parameters under extraParams ( distStorage.aws).
With your comments, We Tested with configs under core-site.xml, but we still have the same errors
We also have the same errors while trying to read parquet files from S3 ( S3 Compatible).
We added a parquet file as a Table from Dremio, but we were Unable to read it.
We are able to read files ( csv, excel …) in S3 (S3 Compatible) . I think the issue is just while trying to read parquet files from S3 (S3 Compat).
Hi, I am the developer of the patch. It is actually fixed my problem and we can use S3 as storage for reflections. I could update the PR to be compatible with the latest Dremio master, but seems there is no interest to merge it from the Dremio team.
In fact, the error is related to reading any parquet file located on any S3 compatible Server.
We are able to read any other file type (csv, excel,…) but reading parquet fails: