aboutsummaryrefslogtreecommitdiff
path: root/exec/java-exec/src/main/resources/bootstrap-storage-plugins.json
diff options
context:
space:
mode:
authorJason Altekruse <altekrusejason@gmail.com>2016-02-11 16:52:38 -0800
committervkorukanti <venki.korukanti@gmail.com>2016-03-02 14:08:51 -0800
commit0842851c854595f140779e9ed09331dbb63f6623 (patch)
tree09b25e5c140a289d9bb8d43f3ef63434eaa8291e /exec/java-exec/src/main/resources/bootstrap-storage-plugins.json
parent2ffe311739cda1942f2a74a27702cdd38e07ed3b (diff)
DRILL-4383: Allow custom configurations to be specified for a FileSystem plugin
add an example s3 plugin, disabled by default Closes #375
Diffstat (limited to 'exec/java-exec/src/main/resources/bootstrap-storage-plugins.json')
-rw-r--r--exec/java-exec/src/main/resources/bootstrap-storage-plugins.json56
1 files changed, 56 insertions, 0 deletions
diff --git a/exec/java-exec/src/main/resources/bootstrap-storage-plugins.json b/exec/java-exec/src/main/resources/bootstrap-storage-plugins.json
index f5d388077..13d29ea9e 100644
--- a/exec/java-exec/src/main/resources/bootstrap-storage-plugins.json
+++ b/exec/java-exec/src/main/resources/bootstrap-storage-plugins.json
@@ -51,6 +51,62 @@
}
}
},
+ s3: {
+ type: "file",
+ connection: "s3a://my.bucket.location.com",
+ enabled : false,
+ config : {
+ "fs.s3a.access.key": "ID",
+ "fs.s3a.secret.key": "SECRET"
+ },
+ workspaces: {
+ "root" : {
+ location: "/",
+ writable: false
+ },
+ "tmp" : {
+ location: "/tmp",
+ writable: true
+ }
+ },
+ formats: {
+ "psv" : {
+ type: "text",
+ extensions: [ "tbl" ],
+ delimiter: "|"
+ },
+ "csv" : {
+ type: "text",
+ extensions: [ "csv" ],
+ delimiter: ","
+ },
+ "tsv" : {
+ type: "text",
+ extensions: [ "tsv" ],
+ delimiter: "\t"
+ },
+ "parquet" : {
+ type: "parquet"
+ },
+ "json" : {
+ type: "json",
+ extensions: [ "json" ]
+ },
+ "avro" : {
+ type: "avro"
+ },
+ "sequencefile": {
+ type : "sequencefile",
+ extensions: [ "seq" ]
+ },
+ "csvh" : {
+ type: "text",
+ extensions: [ "csvh" ],
+ delimiter: ",",
+ extractHeader: true
+ }
+ }
+ },
cp: {
type: "file",