Where to put jets3t.properties in scala project?

57 views
Skip to first unread message

Jaspinder Virdee

unread,
May 24, 2017, 2:41:23 AM5/24/17
to JetS3t Users
I am using Apache Spark to push data on s3. I am having an issue for which I need to use jets3t.properties to use storage-service.request-signature-version=AWS4-HMAC-SHA256. Where to put this file?

James Murty

unread,
May 24, 2017, 8:14:10 PM5/24/17
to jets3t...@googlegroups.com
Hi,

You should be able to put the jets3t.properties file in your project classpath and it will be detected and used.

However, you would be better off creating a JetS3tProperties object with the exact settings you need, and provide this in the service constructor. This will give you more explicit control over the settings and you won't need to mess with the classpath.

Hope this helps,
James


On 24 May 2017 at 16:41, Jaspinder Virdee <atley...@gmail.com> wrote:
I am using Apache Spark to push data on s3. I am having an issue for which I need to use jets3t.properties to use storage-service.request-signature-version=AWS4-HMAC-SHA256. Where to put this file?

--
You received this message because you are subscribed to the Google Groups "JetS3t Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jets3t-users+unsubscribe@googlegroups.com.
To post to this group, send email to jets3t...@googlegroups.com.
Visit this group at https://groups.google.com/group/jets3t-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages