spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Demoor <>
Subject Re: Spark and S3 server side encryption
Date Tue, 27 Jan 2015 09:41:38 GMT
Spark uses the Hadoop filesystems.

I assume you are trying to use s3n:// which, under the hood, uses the 3rd
party jets3t library. It is configured through the file
(google "hadoop s3n jets3t") which you should put on Spark's classpath. The
setting you are looking for is s3service.server-side-encryption

The last version of hadoop (2.6) introduces a new and improved s3a://
filesystem which has the official sdk from Amazon under the hood.

On Mon, Jan 26, 2015 at 10:01 PM, curtkohler <> wrote:

> We are trying to create a Spark job that writes out a file to S3 that
> leverage S3's server side encryption for sensitive data. Typically this is
> accomplished by setting the appropriate header on the put request, but it
> isn't clear whether this capability is exposed in the Spark/Hadoop APIs.
> Does anyone have any suggestions?
> --
> View this message in context:
> Sent from the Apache Spark User List mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message