Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14149

Joda Time causes an AmazonS3Exception on Hadoop3.0.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • Hive
    • None

    Description

      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:

      com.amazonaws.services.s3.model.AmazonS3Exception: AWS authentication requires a valid Date or x-amz-date header
      

      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

      Attachments

        1. HIVE-14149.1.patch
          0.4 kB
          Abdullah Yousufi

        Activity

          People

            ayousufi Abdullah Yousufi
            ayousufi Abdullah Yousufi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: