diff --git a/hdfs-storage/pom.xml b/hdfs-storage/pom.xml index f54dc655639..c7af0a170bb 100644 --- a/hdfs-storage/pom.xml +++ b/hdfs-storage/pom.xml @@ -41,11 +41,15 @@ net.java.dev.jets3t jets3t - + org.apache.httpcomponents httpclient + + org.apache.httpcomponents + httpcore + org.apache.hadoop hadoop-core diff --git a/indexing-hadoop/pom.xml b/indexing-hadoop/pom.xml index e7231c4ec14..bd26b712f73 100644 --- a/indexing-hadoop/pom.xml +++ b/indexing-hadoop/pom.xml @@ -56,11 +56,15 @@ net.java.dev.jets3t jets3t - + org.apache.httpcomponents httpclient + + org.apache.httpcomponents + httpcore + org.apache.hadoop hadoop-core diff --git a/pom.xml b/pom.xml index 2e3c6aade97..f67fd444892 100644 --- a/pom.xml +++ b/pom.xml @@ -383,6 +383,11 @@ httpclient 4.2 + + org.apache.httpcomponents + httpcore + 4.2 + org.apache.hadoop hadoop-core diff --git a/s3-extensions/pom.xml b/s3-extensions/pom.xml index 142ef344b4b..942c456ef6d 100644 --- a/s3-extensions/pom.xml +++ b/s3-extensions/pom.xml @@ -41,11 +41,15 @@ net.java.dev.jets3t jets3t - + org.apache.httpcomponents httpclient + + org.apache.httpcomponents + httpcore + com.metamx emitter diff --git a/s3-extensions/src/main/java/io/druid/storage/s3/S3StorageDruidModule.java b/s3-extensions/src/main/java/io/druid/storage/s3/S3StorageDruidModule.java index 34c23f850c9..f2675251f19 100644 --- a/s3-extensions/src/main/java/io/druid/storage/s3/S3StorageDruidModule.java +++ b/s3-extensions/src/main/java/io/druid/storage/s3/S3StorageDruidModule.java @@ -30,6 +30,7 @@ import io.druid.guice.LazySingleton; import io.druid.initialization.DruidModule; import org.jets3t.service.S3ServiceException; import org.jets3t.service.impl.rest.httpclient.RestS3Service; +import org.jets3t.service.security.AWSCredentials; import java.util.List; @@ -60,14 +61,14 @@ public class S3StorageDruidModule implements DruidModule @Provides @LazySingleton - public org.jets3t.service.security.AWSCredentials getJets3tAWSCredentials(AWSCredentialsConfig config) + public AWSCredentials getJets3tAWSCredentials(AWSCredentialsConfig config) { - return new org.jets3t.service.security.AWSCredentials(config.getAccessKey(), config.getSecretKey()); + return new AWSCredentials(config.getAccessKey(), config.getSecretKey()); } @Provides @LazySingleton - public RestS3Service getRestS3Service(org.jets3t.service.security.AWSCredentials credentials) + public RestS3Service getRestS3Service(AWSCredentials credentials) { try { return new RestS3Service(credentials);