[ 
https://issues.apache.org/jira/browse/HADOOP-14433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Mackrory updated HADOOP-14433:
-----------------------------------
    Attachment: HADOOP-14433-HADOOP-13345.001.patch

So this has always succeeded for me because my auth-keys.xml sets a specific 
table name. If I don't, it fails for me no matter how it's run. Attaching a 
patch that fixes it by initializing the DynamoDB client using the test file 
system (so it can use the bucket name as the default table name). Now it passes 
for me with and without a specific table name.

> ITestS3GuardConcurrentOps.testConcurrentTableCreations failing on local dynamo
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-14433
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14433
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3, test
>    Affects Versions: HADOOP-13345
>            Reporter: Steve Loughran
>            Assignee: Mingliang Liu
>            Priority: Minor
>         Attachments: HADOOP-14433-HADOOP-13345.001.patch
>
>
> test run with local dynamo {{-Dparallel-tests -DtestsThreadCount=8 
> -Ddynamodblocal -Ds3guard}} failing
> {code}
> Running org.apache.hadoop.fs.s3a.s3guard.ITestS3GuardToolLocalTests run: 1, 
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.401 sec - in 
> org.apache.hadoop.fs.s3a.ITestS3GuardEmptyDirsTests run: 1, Failures: 0, 
> Errors: 1, Skipped: 0, Time elapsed: 10.264 sec <<< FAILURE! - in 
> org.apache.hadoop.fs.s3a.s3guard.ITestS3GuardConcurrentOpstestConcurrentTableCreations(org.apache.hadoop.fs.s3a.s3guard.ITestS3GuardConcurrentOps)
>   Time elapsed: 9.744 sec  <<< ERROR! java.lang.IllegalArgumentException: No 
> DynamoDB table name configured!
>       at 
> com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
>       at 
> org.apache.hadoop.fs.s3a.s3guard.DynamoDBMetadataStore.initialize(DynamoDBMetadataStore.java:266)
>       at 
> org.apache.hadoop.fs.s3a.s3guard.ITestS3GuardConcurrentOps.testConcurrentTableCreations(ITestS3GuardConcurrentOps.java:81)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to