Amazon AWS Athena S3 and Glacier Mixed Bucket

Stephen Blum

Amazon Athena Log Analysis Services with S3 Glacier

We have petabytes of data in S3. We are https://www.pubnub.com/ and we store usage data in S3 of our network for billing purposes. We have tab delimited log files stored in an S3 bucket. Athena is giving us a HIVE_CURSOR_ERROR failure.

Our S3 bucket is setup to automatically push to AWS Glacier after 6 months. Our bucket has S3 files hot and ready to read in addition to the Glacier backup files. We are getting access errors from Athena because of this. The file referenced in the error is a Glacier backup.

My guess is the answer will be: don't keep glacier backups in the same bucket. We don't have this option with ease due to our data volume sizes. I believe Athena will not work in this setup and we will not be able to use Athena for our log analysis.

However if there is a way we can use Athena, we would be thrilled. Is there a solution to HIVE_CURSOR_ERROR and a way to skip Glacier files? Our s3 bucket is a flat bucket without folders.

AWS Athena S3 Operation Exception

The S3 file object name shown in the above and below screenshots is omitted from the screenshot. The file reference in the HIVE_CURSOR_ERROR is in fact the Glacier object. You can see it in this screenshot of our S3 Bucket.

Amazon S3 Bucket object in Glacier accessed by Athena

Note I tried to post on https://forums.aws.amazon.com/ but that was no bueno.

enter image description here

Theo

Since the release of February 18, 2019 Athena will ignore objects with the GLACIER storage class instead of failing the query:

[…] As a result of fixing this issue, Athena ignores objects transitioned to the GLACIER storage class. Athena does not support querying data from the GLACIER storage class.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Save AWS glacier downloaded file to amazon s3 location

分類Dev

Amazon AWS S3 Glacier:ファイル階層はありますか

分類Dev

Amazon S3 Bucket cache clear

分類Dev

List contents of AWS S3 bucket

分類Dev

AWS LastModified S3 Bucket different

分類Dev

Amazon AWS AthenaS3とGlacier混合バケット

分類Dev

amazon s3, upload file in folder in bucket

分類Dev

amazon s3, upload file in folder in bucket

分類Dev

How to transfer an Amazon S3 bucket to another account?

分類Dev

Cannot set bucket policy of amazon s3

分類Dev

Amazon S3 Bucket Policy Block User Agent

分類Dev

Amazon S3 managing files in versioned bucket

分類Dev

AWS Athena + S3の制限

分類Dev

How does AWS transfer S3 objects to Glacier archives when you use lifecycle archive rules?

分類Dev

In AWS S3 Bucket Uploading images as 0 Bytes

分類Dev

Configure AWS S3 bucket for Django static files with Terraform

分類Dev

How to automate permissions for AWS s3 bucket objects

分類Dev

AWS S3: Recommend Nested Bucket Architecture

分類Dev

Uploading a Dataframe to AWS S3 Bucket from SageMaker

分類Dev

Export data from QlikSense cloud to AWS S3 bucket

分類Dev

R reactiveFileReader reading from aws s3 bucket

分類Dev

Java AWS Amazon s3 GetObjectRequest(InvalidAccessKeyId)

分類Dev

amazon s3 aws url path subdirectories buckets

分類Dev

How can I execute a command (like copy) for each folder in an Amazon S3 bucket?

分類Dev

Mule ESB: How to take all the files in a folder inside Bucket of Amazon S3 ( get object content)

分類Dev

Amazon S3 Bucket listing via Perl is throwing XML error

分類Dev

How to query in AWS athena connected through S3 using lambda functions in python

分類Dev

python boto3: AWS Rekognition is unable to access S3 bucket

分類Dev

Amazon S3:ファイルをバケットからGlacierに移動します

Related 関連記事

  1. 1

    Save AWS glacier downloaded file to amazon s3 location

  2. 2

    Amazon AWS S3 Glacier:ファイル階層はありますか

  3. 3

    Amazon S3 Bucket cache clear

  4. 4

    List contents of AWS S3 bucket

  5. 5

    AWS LastModified S3 Bucket different

  6. 6

    Amazon AWS AthenaS3とGlacier混合バケット

  7. 7

    amazon s3, upload file in folder in bucket

  8. 8

    amazon s3, upload file in folder in bucket

  9. 9

    How to transfer an Amazon S3 bucket to another account?

  10. 10

    Cannot set bucket policy of amazon s3

  11. 11

    Amazon S3 Bucket Policy Block User Agent

  12. 12

    Amazon S3 managing files in versioned bucket

  13. 13

    AWS Athena + S3の制限

  14. 14

    How does AWS transfer S3 objects to Glacier archives when you use lifecycle archive rules?

  15. 15

    In AWS S3 Bucket Uploading images as 0 Bytes

  16. 16

    Configure AWS S3 bucket for Django static files with Terraform

  17. 17

    How to automate permissions for AWS s3 bucket objects

  18. 18

    AWS S3: Recommend Nested Bucket Architecture

  19. 19

    Uploading a Dataframe to AWS S3 Bucket from SageMaker

  20. 20

    Export data from QlikSense cloud to AWS S3 bucket

  21. 21

    R reactiveFileReader reading from aws s3 bucket

  22. 22

    Java AWS Amazon s3 GetObjectRequest(InvalidAccessKeyId)

  23. 23

    amazon s3 aws url path subdirectories buckets

  24. 24

    How can I execute a command (like copy) for each folder in an Amazon S3 bucket?

  25. 25

    Mule ESB: How to take all the files in a folder inside Bucket of Amazon S3 ( get object content)

  26. 26

    Amazon S3 Bucket listing via Perl is throwing XML error

  27. 27

    How to query in AWS athena connected through S3 using lambda functions in python

  28. 28

    python boto3: AWS Rekognition is unable to access S3 bucket

  29. 29

    Amazon S3:ファイルをバケットからGlacierに移動します

ホットタグ

アーカイブ