Skip to content

Commit

Permalink
DRILL-4063: Add s3a dependency jars and example core-site.xml
Browse files Browse the repository at this point in the history
This closes #265
  • Loading branch information
abhipol authored and jaltekruse committed Nov 25, 2015
1 parent 56d5f79 commit 18a0eff
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
5 changes: 5 additions & 0 deletions distribution/pom.xml
Expand Up @@ -73,6 +73,11 @@
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-aws</artifactId>
<version>${hadoop.version}</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions distribution/src/assemble/bin.xml
Expand Up @@ -307,5 +307,9 @@
<source>src/resources/drill-override-example.conf</source>
<outputDirectory>conf</outputDirectory>
</file>
<file>
<source>src/resources/core-site.xml</source>
<outputDirectory>conf</outputDirectory>
</file>
</files>
</assembly>
31 changes: 31 additions & 0 deletions distribution/src/resources/core-site.xml
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<configuration>

<property>
<name>fs.s3a.access.key</name>
<value>ENTER_YOUR_ACCESSKEY</value>
</property>

<property>
<name>fs.s3a.secret.key</name>
<value>ENTER_YOUR_SECRETKEY</value>
</property>

</configuration>
12 changes: 12 additions & 0 deletions pom.xml
Expand Up @@ -589,6 +589,18 @@
<!-- Managed Dependencies -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-aws</artifactId>
<version>${hadoop.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-yarn-api</artifactId>
Expand Down

0 comments on commit 18a0eff

Please sign in to comment.