You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by br...@apache.org on 2018/09/20 21:49:25 UTC

[drill] branch gh-pages updated (26cb4b7 -> 11dfe91)

This is an automated email from the ASF dual-hosted git repository.

bridgetb pushed a change to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/drill.git.


    from 26cb4b7  edit 1.14 rn to add links to preview drivers
     new 692f95c  Docs for configuring Drill to S3 Instance Profiles
     new 11dfe91  Indentation Changes to S3 config for IAM roles

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../connect-a-data-source/plugins/110-s3-storage-plugin.md  | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)


[drill] 01/02: Docs for configuring Drill to S3 Instance Profiles

Posted by br...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bridgetb pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/drill.git

commit 692f95c02d16023c8eee412d1488455280d8aa2c
Author: Nitin S <ns...@gmail.com>
AuthorDate: Wed Sep 19 22:41:38 2018 -0700

    Docs for configuring Drill to S3 Instance Profiles
    
    Adding instructions for using drill with AWS Instance Profiles/IAM Roles for accessing S3.
---
 .../connect-a-data-source/plugins/110-s3-storage-plugin.md  | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/_docs/connect-a-data-source/plugins/110-s3-storage-plugin.md b/_docs/connect-a-data-source/plugins/110-s3-storage-plugin.md
index b758e80..4b00d55 100644
--- a/_docs/connect-a-data-source/plugins/110-s3-storage-plugin.md
+++ b/_docs/connect-a-data-source/plugins/110-s3-storage-plugin.md
@@ -47,7 +47,18 @@ To configure the access keys in Drill's core-site.xml file, navigate to the `$DR
                <name>fs.s3a.endpoint</name>
                <value>s3.REGION.amazonaws.com</value>
            </property>
-       </configuration>   
+       </configuration>  
+
+### Configuring Drill to use AWS IAM Roles for Accessing S3
+
+If you use IAM roles/Instance profiles, to access data in s3, use the following settings in your core-site.xml. Do not specify the secret key or access key properties. As an example:
+
+        <configuration>
+           <property>
+                 <name>fs.s3a.aws.credentials.provider</name>
+                <value>com.amazonaws.auth.InstanceProfileCredentialsProvider</value>
+	</property>
+       </configuration>  
 
 **Note:** When you rename the file, Hadoop support breaks if `$HADOOP_HOME` was in the path because Drill pulls in the Drill core-site.xml file instead of the Hadoop core-site.xml file. In this situation, make the changes in the Hadoop core-site.xml file. Do not create a core-site.xml file for Drill.  
 


[drill] 02/02: Indentation Changes to S3 config for IAM roles

Posted by br...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bridgetb pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/drill.git

commit 11dfe910c35cca6ee34cbaa79dc8cb16b6bfeeff
Author: Nitin S <ns...@gmail.com>
AuthorDate: Wed Sep 19 22:48:47 2018 -0700

    Indentation Changes to S3 config for IAM roles
    
    Indentation Changes to S3 config for IAM roles
---
 _docs/connect-a-data-source/plugins/110-s3-storage-plugin.md | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/_docs/connect-a-data-source/plugins/110-s3-storage-plugin.md b/_docs/connect-a-data-source/plugins/110-s3-storage-plugin.md
index 4b00d55..e2b6e29 100644
--- a/_docs/connect-a-data-source/plugins/110-s3-storage-plugin.md
+++ b/_docs/connect-a-data-source/plugins/110-s3-storage-plugin.md
@@ -53,12 +53,12 @@ To configure the access keys in Drill's core-site.xml file, navigate to the `$DR
 
 If you use IAM roles/Instance profiles, to access data in s3, use the following settings in your core-site.xml. Do not specify the secret key or access key properties. As an example:
 
-        <configuration>
-           <property>
-                 <name>fs.s3a.aws.credentials.provider</name>
-                <value>com.amazonaws.auth.InstanceProfileCredentialsProvider</value>
-	</property>
-       </configuration>  
+       <configuration>
+		<property>
+		    <name>fs.s3a.aws.credentials.provider</name>
+		    <value>com.amazonaws.auth.InstanceProfileCredentialsProvider</value>
+		</property>
+       </configuration>            
 
 **Note:** When you rename the file, Hadoop support breaks if `$HADOOP_HOME` was in the path because Drill pulls in the Drill core-site.xml file instead of the Hadoop core-site.xml file. In this situation, make the changes in the Hadoop core-site.xml file. Do not create a core-site.xml file for Drill.