Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

S3 cse encryption and compression #160

Merged
merged 3 commits into from Feb 4, 2016

Conversation

natesammons-nasdaq
Copy link
Contributor

This change adds support for gzip compression on data stored in S3 to reduce storage size.

This change also adds support for S3 encryption materials provider implementations when dealing with data in S3. This allows for client-managed encryption keys which are still transparently used when viewing/downloading output files stored in S3.

catch (Exception x) {
throw new RuntimeException("Unable to initialize EncryptionMaterialsProvider class " + empClassName + ": " + x, x);
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want to move the EncryptionMaterialsProvider into its own provider method, having this method depend on it.

@andykram
Copy link
Collaborator

andykram commented Feb 4, 2016

Sorry for taking a while to get to this PR, but I left a few comments. If you can address these comments I'd be more than happy to merge your pr in

@natesammons-nasdaq
Copy link
Contributor Author

Cool — thanks. I'll try and get to this this week, but all the comments look good.

Thanks

-nate

Nate Sammons
Principal Architect
[cid:image002.png@01CFDD78.1CD32F50]

From: Andy Kramolisch <notifications@github.commailto:notifications@github.com>
Reply-To: airbnb/airpal <reply@reply.github.commailto:reply@reply.github.com>
Date: Wednesday, February 3, 2016 at 10:24 PM
To: airbnb/airpal <airpal@noreply.github.commailto:airpal@noreply.github.com>
Cc: Nate Sammons <nate.sammons@nasdaq.commailto:nate.sammons@nasdaq.com>
Subject: Re: [airpal] S3 cse encryption and compression (#160)

Sorry for taking a while to get to this PR, but I left a few comments. If you can address these comments I'd be more than happy to merge your pr in


Reply to this email directly or view it on GitHubhttps://github.com//pull/160#issuecomment-179645170.


CONFIDENTIALITY NOTICE: This e-mail and any attachments are for the exclusive and confidential use of the intended recipient and may constitute non-public information. If you received this e-mail in error, disclosing, copying, distributing or taking any action in reliance of this e-mail is strictly prohibited and may be unlawful. Instead, please notify us immediately by return e-mail and promptly delete this message and its attachments from your computer system. We do not waive any work product or other applicable legal privilege(s) by the transmission of this message.


Simplified code around switching between compressed and uncompressed
input/output, added provider method for the encryption materials
provider
@natesammons-nasdaq
Copy link
Contributor Author

OK, just pushed changes – decided this was more interesting than my conference call this morning :)

-nate

Nate Sammons
Principal Architect
[cid:image002.png@01CFDD78.1CD32F50]

From: Andy Kramolisch <notifications@github.commailto:notifications@github.com>
Reply-To: airbnb/airpal <reply@reply.github.commailto:reply@reply.github.com>
Date: Wednesday, February 3, 2016 at 10:24 PM
To: airbnb/airpal <airpal@noreply.github.commailto:airpal@noreply.github.com>
Cc: Nate Sammons <nate.sammons@nasdaq.commailto:nate.sammons@nasdaq.com>
Subject: Re: [airpal] S3 cse encryption and compression (#160)

Sorry for taking a while to get to this PR, but I left a few comments. If you can address these comments I'd be more than happy to merge your pr in


Reply to this email directly or view it on GitHubhttps://github.com//pull/160#issuecomment-179645170.


CONFIDENTIALITY NOTICE: This e-mail and any attachments are for the exclusive and confidential use of the intended recipient and may constitute non-public information. If you received this e-mail in error, disclosing, copying, distributing or taking any action in reliance of this e-mail is strictly prohibited and may be unlawful. Instead, please notify us immediately by return e-mail and promptly delete this message and its attachments from your computer system. We do not waive any work product or other applicable legal privilege(s) by the transmission of this message.


@andykram
Copy link
Collaborator

andykram commented Feb 4, 2016

Looks great, thanks for your contribution @natesammons-nasdaq

andykram added a commit that referenced this pull request Feb 4, 2016
@andykram andykram merged commit 4d313d0 into airbnb:master Feb 4, 2016
@natesammons-nasdaq
Copy link
Contributor Author

Thanks! This is great -- thanks for open sourcing this tool, it's extremely handy.

Nate

Sent from my iPhone

On Feb 4, 2016, at 12:29 PM, Andy Kramolisch <notifications@github.commailto:notifications@github.com> wrote:

Looks great, thanks for your contribution @natesammons-nasdaqhttps://github.com/natesammons-nasdaq


Reply to this email directly or view it on GitHubhttps://github.com//pull/160#issuecomment-180014161.


CONFIDENTIALITY NOTICE: This e-mail and any attachments are for the exclusive and confidential use of the intended recipient and may constitute non-public information. If you received this e-mail in error, disclosing, copying, distributing or taking any action in reliance of this e-mail is strictly prohibited and may be unlawful. Instead, please notify us immediately by return e-mail and promptly delete this message and its attachments from your computer system. We do not waive any work product or other applicable legal privilege(s) by the transmission of this message.


Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants