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

Gabor Bota updated HADOOP-15988:
--------------------------------
    Status: Patch Available  (was: In Progress)

submitted patch v001, tested against eu-west-1. 
Issues:
* org.apache.hadoop.fs.s3a.yarn.ITestS3AMiniYarnCluster#testWithMiniCluster 
(known)
* ITestS3GuardToolDynamoDB#testPruneCommandCLI (added to [S3 flakyness 
collecting 
spreadsheet|https://docs.google.com/spreadsheets/d/1Z9dkg5yC7Hu7VQ5G2Wz40hG1pb0DhLuLjJ3PZe7WL3Q/edit?usp=sharing])
 - timeout, succesful after rerun

These issues are not related.



> Should be able to set empty directory flag to TRUE in 
> DynamoDBMetadataStore#innerGet when using authoritative directory listings
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-15988
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15988
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.1.0
>            Reporter: Gabor Bota
>            Assignee: Gabor Bota
>            Priority: Major
>         Attachments: HADOOP-15988.001.patch
>
>
> We have the following comment and implementation in DynamoDBMetadataStore:
> {noformat}
>         // When this class has support for authoritative
>         // (fully-cached) directory listings, we may also be able to answer
>         // TRUE here.  Until then, we don't know if we have full listing or
>         // not, thus the UNKNOWN here:
>         meta.setIsEmptyDirectory(
>             hasChildren ? Tristate.FALSE : Tristate.UNKNOWN);
> {noformat}
> We have authoritative listings now in dynamo since HADOOP-15621, so we should 
> resolve this comment, implement the solution and test it. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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