Aaron Fabbri commented on HADOOP-13449:

That use case for Mock S3 Client + Real DDB client (for DynamoDBLocal) makes 
sense.  We also need to be able to ensure that DDB metadatastore is disabled 
for unit tests, even if it is configured in the Hadoop configuration.  That 
could be solved as part of HADOOP-13589.

In my working tree I have a patch on top of your v10 here that separates out 
the DynamoDB Client Factory into a separate class {{DynamoDBClientFactory}}.  
That would allow us to use a Mock S3 client without a real DDB client.  It is 
an easy change but depends on (or conflicts with) my outstanding patch for 
HADOOP-13793 (which we should get in soon).

As for disabling s3n integration tests, you should be able to add a couple of 
lines to your pom to exclude those.. Google the Maven Failsafe options for 
details.  I personally run just integration tests like so:

{{mvn clean test-compile failsafe:integration-test}}

and then find one failure that I want to debug, and run that one alone like 

{{mvn clean test-compile failsafe:integration-test 

> S3Guard: Implement DynamoDBMetadataStore.
> -----------------------------------------
>                 Key: HADOOP-13449
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13449
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Chris Nauroth
>            Assignee: Mingliang Liu
>         Attachments: HADOOP-13449-HADOOP-13345.000.patch, 
> HADOOP-13449-HADOOP-13345.001.patch, HADOOP-13449-HADOOP-13345.002.patch, 
> HADOOP-13449-HADOOP-13345.003.patch, HADOOP-13449-HADOOP-13345.004.patch, 
> HADOOP-13449-HADOOP-13345.005.patch, HADOOP-13449-HADOOP-13345.006.patch, 
> HADOOP-13449-HADOOP-13345.007.patch, HADOOP-13449-HADOOP-13345.008.patch, 
> HADOOP-13449-HADOOP-13345.009.patch, HADOOP-13449-HADOOP-13345.010.patch
> Provide an implementation of the metadata store backed by DynamoDB.

This message was sent by Atlassian JIRA

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

Reply via email to