-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a7cd021
commit d6f94b9
Showing
4 changed files
with
91 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
title: S3 Filesystem (experimental) | ||
keywords: sql hive s3 spark presto | ||
sidebar: mydoc_sidebar | ||
permalink: s3_hoodie.html | ||
toc: false | ||
summary: In this page, we go over how to configure hoodie with S3 filesystem. | ||
--- | ||
Hoodie works with HDFS by default. There is an experimental work going on Hoodie-S3 compatibility. | ||
|
||
## S3 configs | ||
|
||
Add the required configs in your core-site.xml from where Hoodie can fetch them. Replace the `fs.defaultFS` with your S3 bucket name and Hoodie should be able to read/write from the bucket. | ||
|
||
``` | ||
<property> | ||
<name>fs.defaultFS</name> | ||
<value>s3://ysharma</value> | ||
</property> | ||
<property> | ||
<name>fs.s3.impl</name> | ||
<value>org.apache.hadoop.fs.s3native.NativeS3FileSystem</value> | ||
</property> | ||
<property> | ||
<name>fs.s3.awsAccessKeyId</name> | ||
<value>AWS_KEY</value> | ||
</property> | ||
<property> | ||
<name>fs.s3.awsSecretAccessKey</name> | ||
<value>AWS_SECRET</value> | ||
</property> | ||
<property> | ||
<name>fs.s3n.awsAccessKeyId</name> | ||
<value>AWS_KEY</value> | ||
</property> | ||
<property> | ||
<name>fs.s3n.awsSecretAccessKey</name> | ||
<value>AWS_SECRET</value> | ||
</property> | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters