diff options
author | Vitalii Diravka <vitalii.diravka@gmail.com> | 2018-07-03 20:23:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-03 20:23:03 +0300 |
commit | 0ae7035de390c699f574d1ec25d45cd8b20a8b94 (patch) | |
tree | 3012eafa62d188030069d235649bce2c7282c674 /exec/java-exec/src/main/resources/bootstrap-storage-plugins.json | |
parent | 069c3049f1a500e5ae0b47caeebc5856ab182b73 (diff) |
DRILL-6494: Drill Plugins Handler
- Storage Plugins Handler service is used op the Drill start-up stage and it updates storage plugins configs from
storage-plugins-override.conf file. If plugins configs are present in the persistence store - they are updated,
otherwise bootstrap plugins are updated and the result configs are loaded to persistence store. If the enabled
status is absent in the storage-plugins-override.conf file, the last plugin config enabled status persists.
- 'drill.exec.storage.action_on_plugins_override_file' Boot option is added. This is the action, which should be
performed on the storage-plugins-override.conf file after successful updating storage plugins configs.
Possible values are: "none" (default), "rename" and "remove".
- The "NULL" issue with updating Hive plugin config by REST is solved. But clients are still being instantiated for disabled
plugins - DRILL-6412.
- "org.honton.chas.hocon:jackson-dataformat-hocon" library is added for the proper deserializing HOCON conf file
- additional refactoring: "com.typesafe:config" and "org.apache.commons:commons-lang3" are placed into DependencyManagement
block with proper versions; correct properties for metrics in "drill-override-example.conf" are specified
closes #1345
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.json | 11 |
1 files changed, 7 insertions, 4 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 417635a0b..42cddd865 100644 --- a/exec/java-exec/src/main/resources/bootstrap-storage-plugins.json +++ b/exec/java-exec/src/main/resources/bootstrap-storage-plugins.json @@ -68,12 +68,13 @@ "crw", "cr2", "nef", "orf", "raf", "rw2", "rwl", "srw", "x3f" ] } - } + }, + enabled : true }, + s3: { type: "file", connection: "s3a://my.bucket.location.com", - enabled : false, config : { "fs.s3a.access.key": "ID", "fs.s3a.secret.key": "SECRET" @@ -124,7 +125,8 @@ delimiter: ",", extractHeader: true } - } + }, + enabled : false }, cp: { @@ -166,7 +168,8 @@ "crw", "cr2", "nef", "orf", "raf", "rw2", "rwl", "srw", "x3f" ] } - } + }, + enabled : true } } } |