hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-16252) Use configurable dynamo table name prefix in S3Guard tests
Date Wed, 24 Apr 2019 15:42:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-16252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825281#comment-16825281

Hudson commented on HADOOP-16252:

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #16461 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/16461/])
HADOOP-16252. Add prefix to dynamo tables in tests. (stevel: rev e1c5ddf2aa854951142e234462978245cdb99e1d)
* (edit) hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/AbstractS3ATestBase.java
* (edit) hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/S3ATestConstants.java
* (edit) hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/ITestS3GuardConcurrentOps.java
* (edit) hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/AbstractS3GuardToolTestBase.java
* (edit) hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/testing.md
* (edit) hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/ITestDynamoDBMetadataStore.java
* (edit) hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/S3ATestUtils.java
* (edit) hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/ITestS3GuardToolDynamoDB.java

> Use configurable dynamo table name prefix in S3Guard tests
> ----------------------------------------------------------
>                 Key: HADOOP-16252
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16252
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Ben Roling
>            Assignee: Ben Roling
>            Priority: Major
>             Fix For: 3.3.0
> Table names are hardcoded into tests for S3Guard with DynamoDB.  This makes it awkward
to set up a least-privilege type AWS IAM user or role that can successfully execute the full
test suite.  You either have to know all the specific hardcoded table names and give the user
Dynamo read/write access to those by name or just give blanket read/write access to all Dynamo
tables in the account.
> I propose the tests use a configuration property to specify a prefix for the table names
used.  Then the full test suite can be run by a user that is given read/write access to all
tables with names starting with the configured prefix.

This message was sent by Atlassian JIRA

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

View raw message