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

Aaron Fabbri commented on HADOOP-13449:
---------------------------------------

Sorry, I was a little hasty to comment without the details of your DynamoDB 
schema.

Since you use the parent dir as the key for each entry, listChildren(/a/b) can 
just return all items with key=/a/b, right?

You shouldn't have to create any separate entry for parent (unless client 
specifically does {{put(PathMetadata(/a/b))}})

Still curious if you can use {{begins_with}} query to implement recursive 
delete.  If so, that could be a future optimization.

Next time you run the existing test code, and you have a failure related to 
this, feel free to email/JIRA mention me and I'll work with you on it.  I'll 
take another look at the MetadataStoreTestBase now.

> 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
>
>
> Provide an implementation of the metadata store backed by DynamoDB.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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