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

Mingliang Liu commented on HADOOP-13449:
----------------------------------------

When we put {{/a/b/file}}, {{/a/b/}} does not need to be there. MetadataStore 
will not enforce this. Either the caller has to pre-create the parent, or she 
knows about this and do not make any assumption about it in application. I 
agree that the put is a simple request for one exact entry to the metadata 
store.

But for {{listStatus()}}, my understanding is that we assume the entry per se 
is there. Or else, if we query the DDB and no entries having parent as this 
path, is the directory nonexistent, or the directory is empty? DDBMetadataStore 
should return DirListingMetadata accordingly. Thanks,

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to