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

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

One more answer.. Sorry for spamming but I have a hard time parsing the 
questions sometimes (need a whiteboard).

{quote}
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? 
{quote}

I think in this case you return null.  This means "I do not have any state for 
that directory".  The client has to check S3.

Once we have delete tracking, we might look for an entry for the directory 
itself with isDeleted=true, and return file not found, but we are not doing 
delete tracking initially (just focus on list consistency).


> 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