If you create a new bootstrap-storage-plugins.json file and put it on the
classpath, it should automatically be loaded when Drill boots for the first
time.

Example file that adds HBase to the default boot of a new cluster:
https://github.com/apache/drill/blob/master/contrib/storage-hbase/src/main/resources/bootstrap-storage-plugins.json

Content inside the named block is the same as you would add to the web ui.

On Tue, Feb 24, 2015 at 1:51 PM, Daniil Osipov <[email protected]>
wrote:

> Hello,
>
> I'm working on fixing the EMR bootstrap script for running Drill. I already
> made a few PRs that helped get the latest versions of Drill running
> properly:
> https://github.com/awslabs/emr-bootstrap-actions/pull/56
> https://github.com/awslabs/emr-bootstrap-actions/pull/57
>
> I'm now trying to configure Drill to access S3 "out of the box". I'm
> following the directions given on
> http://drill.apache.org/blog/2014/12/09/running-sql-queries-on-amazon-s3/
>
> EMR already deploys necessary access/secret keys, so Drill configuration
> remains. I'd like to configure as much as possible in the bootstrap script
> to minimize friction for starting a new cluster.
>
> The problem is the blog post requires one to use the web interface to
> configure storage plugin. Is there a programmatic way to accomplish the
> same - perhaps by creating a file, issuing a query, or calling a process?
>
> Thanks in advance!
> Dan Osipov
>

Reply via email to