You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Abdullah Yousufi (JIRA)" <ji...@apache.org> on 2016/07/01 21:24:10 UTC

[jira] [Created] (HIVE-14149) S3A connector throws an AmazonS3Exception on Hadoop3.0 with Java1.8u60 and higher

Abdullah Yousufi created HIVE-14149:
---------------------------------------

             Summary: S3A connector throws an AmazonS3Exception on Hadoop3.0 with Java1.8u60 and higher
                 Key: HIVE-14149
                 URL: https://issues.apache.org/jira/browse/HIVE-14149
             Project: Hive
          Issue Type: Bug
          Components: Hive
    Affects Versions: 2.1.0
            Reporter: Abdullah Yousufi
            Assignee: Abdullah Yousufi


Java1.8u60 and higher cause Joda Time 2.5 to incorrectly format timezones, which leads to the aws server rejecting requests with the aws sdk hadoop3.0 uses. This means any queries involving the s3a connector will return the following AmazonS3Exception:
{code}
com.amazonaws.services.s3.model.AmazonS3Exception: AWS authentication requires a valid Date or x-amz-date header
{code}

The fix for this is to update Joda Time from 2.5 to 2.8.1. See here for details:
https://github.com/aws/aws-sdk-java/issues/444



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)