hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lium...@apache.org
Subject hadoop git commit: HADOOP-14129. ITestS3ACredentialsInURL sometimes fails. Contributed by Sean Mackrory
Date Tue, 28 Feb 2017 21:28:00 GMT
Repository: hadoop
Updated Branches:
  refs/heads/HADOOP-13345 0abbb7029 -> 32e9a24f9


HADOOP-14129. ITestS3ACredentialsInURL sometimes fails. Contributed by Sean Mackrory


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/32e9a24f
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/32e9a24f
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/32e9a24f

Branch: refs/heads/HADOOP-13345
Commit: 32e9a24f905fb766369100e8a78f14434d7c6180
Parents: 0abbb70
Author: Mingliang Liu <liuml07@apache.org>
Authored: Tue Feb 28 13:22:27 2017 -0800
Committer: Mingliang Liu <liuml07@apache.org>
Committed: Tue Feb 28 13:22:27 2017 -0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/fs/s3a/ITestS3ACredentialsInURL.java | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/32e9a24f/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3ACredentialsInURL.java
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3ACredentialsInURL.java
b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3ACredentialsInURL.java
index f4f7fbb..5a4b2fc 100644
--- a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3ACredentialsInURL.java
+++ b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3ACredentialsInURL.java
@@ -84,6 +84,11 @@ public class ITestS3ACredentialsInURL extends Assert {
     conf.unset(Constants.ACCESS_KEY);
     conf.unset(Constants.SECRET_KEY);
     fs = S3ATestUtils.createTestFileSystem(conf);
+
+    // Skip in the case of S3Guard with DynamoDB because it cannot get
+    // credentials for its own use if they're only in S3 URLs
+    Assume.assumeFalse(fs.hasMetadataStore());
+
     String fsURI = fs.getUri().toString();
     assertFalse("FS URI contains a @ symbol", fsURI.contains("@"));
     assertFalse("FS URI contains a % symbol", fsURI.contains("%"));


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message