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

Chris Douglas updated HDFS-12882:
---------------------------------
    Attachment: HDFS-12882.00.salient.txt

bq. Goes too much into the depths of HDFS for me to be a safe reviewer, I'm 
afraid. Trust me: it's better that way
Patch size aside, this is a minor change. Attaching 
[^HDFS-12882.00.salient.txt] that omits all the automated refactoring changes 
i.e., propagating the flag through the protocol and tests.

The logic for the handle is similarly unsurprising.
|| HandleOpt || allow mod || allow move || open by || check ||
| exact | 0 | 0 | path | mtime, inode |
| content | 0 | 1 | inode | mtime | 
| path | 1 | 0 | path | inode |
| ref | 1 | 1 | inode | -- |

> Support full open(PathHandle) contract in HDFS
> ----------------------------------------------
>
>                 Key: HDFS-12882
>                 URL: https://issues.apache.org/jira/browse/HDFS-12882
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs-client
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>         Attachments: HDFS-12882.00.patch, HDFS-12882.00.salient.txt
>
>
> HDFS-7878 added support for {{open(PathHandle)}}, but it only partially 
> implemented the semantics specified in the contract (i.e., open-by-inodeID). 
> HDFS should implement all permutations of the default options for 
> {{PathHandle}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to