Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.add s3a region conf #3

Open
wants to merge 1 commit into
base: cdh5-2.6.0_5.4.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion hadoop-tools/hadoop-aws/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<createDependencyReducedPom>false</createDependencyReducedPom>
<artifactSet>
<includes>
<include>com.amazonaws:aws-java-sdk:jar:*</include>
<include>com.amazonaws:*:jar:*</include>
<include>com.fasterxml.jackson.*:*</include>
<include>joda-time:joda-time:jar:*</include>
<include>org.apache.httpcomponents:*:jar:*</include>
Expand Down Expand Up @@ -161,6 +161,7 @@
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk</artifactId>
<version>1.10.1</version>
<scope>compile</scope>
<exclusions>
<exclusion>
Expand All @@ -170,6 +171,12 @@
</exclusions>
</dependency>

<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.8.1</version>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ public class Constants {
// s3 secret key
public static final String SECRET_KEY = "fs.s3a.secret.key";

//s3 region key
public static final String REGION_KEY = "fs.s3a.region.key";

// number of simultaneous connections to s3
public static final String MAXIMUM_CONNECTIONS = "fs.s3a.connection.maximum";
public static final int DEFAULT_MAXIMUM_CONNECTIONS = 15;
Expand Down
Loading