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

Suresh Srinivas commented on HDFS-3453:
---------------------------------------

Finally got some time spend on this and understand the issue. This is a good 
change. 

+1 for the patch.

A small comment. Can add to the comment {{Make sure the regular create() is 
done through the old create()}}, why this is being done. Say {{Ensure create() 
is done using old create() without createFlag. This allows newer clients that 
support createFlag to be interop with older server implementation that do not 
createFlag in create().}}
                
> HDFS does not use ClientProtocol in a backward-compatible way
> -------------------------------------------------------------
>
>                 Key: HDFS-3453
>                 URL: https://issues.apache.org/jira/browse/HDFS-3453
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: 1.0.0
>            Reporter: Kihwal Lee
>            Assignee: Kihwal Lee
>             Fix For: 1.1.0
>
>         Attachments: hdfs-3453-branch-1.patch
>
>
> HDFS-617 was brought into branch-0.20-security/branch-1 to support 
> non-recursive create, along with HADOOP-6840 and HADOOP-6886. However, the 
> changes in HDFS was done in an incompatible way, making the client unusable 
> against older clusters, even when plain old create() is called. This is 
> because DFS now internally calls create() through the newly introduced 
> method. By simply changing how the methods are wired internally, we can 
> remove this limitation. We may eventually switch back to the approach in 
> HDFS-617 when the majority of users adopt branch-1 based releases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to