You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Rosenal, Diana J. (ELS-DAY)" <Di...@elsevier.com> on 2018/08/31 17:54:15 UTC

How Does one set the S3 Signature Version in Drill?

Hi,

I am getting this error when I run a query on a json file in S3 and wondered how one specifies the S3 signature version in drill:

org.apache.drill.common.exceptions.UserRemoteException: DATA_READ ERROR: Failure reading JSON file - org.jets3t.service.S3ServiceException: Service Error Message. -- ResponseCode: 400, ResponseStatus: Bad Request, XML Error Message: <?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidArgument</Code><Message>Requests specifying Server Side Encryption with AWS KMS managed keys require AWS Signature Version

Thank you,
Diana

Re: How Does one set the S3 Signature Version in Drill?

Posted by Khurram Faraaz <kf...@mapr.com>.
Hi Rosenal,

You can find the details here -
https://drill.apache.org/docs/s3-storage-plugin/#configuring-the-s3-storage-plugin

Thanks,
Khurram

On Fri, Aug 31, 2018 at 10:54 AM, Rosenal, Diana J. (ELS-DAY) <
Diana.J.Rosenal@elsevier.com> wrote:

> Hi,
>
> I am getting this error when I run a query on a json file in S3 and
> wondered how one specifies the S3 signature version in drill:
>
> org.apache.drill.common.exceptions.UserRemoteException: DATA_READ ERROR:
> Failure reading JSON file - org.jets3t.service.S3ServiceException:
> Service Error Message. -- ResponseCode: 400, ResponseStatus: Bad Request,
> XML Error Message: <?xml version="1.0" encoding="UTF-8"?><Error><
> Code>InvalidArgument</Code><Message>Requests specifying Server Side
> Encryption with AWS KMS managed keys require AWS Signature Version
>
> Thank you,
> Diana
>