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

He Tianyi commented on HDFS-9071:
---------------------------------

Thanks for your time, [~andreina].

I think there may be compatibility issue if {{chooseTarget}} get skipped if 
srcPath is invalid, e.g. there are tests that would fail. 


> chooseTargets in ReplicationWork may pass incomplete srcPath
> ------------------------------------------------------------
>
>                 Key: HDFS-9071
>                 URL: https://issues.apache.org/jira/browse/HDFS-9071
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.6.0
>            Reporter: He Tianyi
>            Assignee: He Tianyi
>         Attachments: HDFS-9071.0001.patch
>
>
> I've observed that chooseTargets in ReplicationWork may pass incomplete 
> srcPath (not starting with '/') to block placement policy.
> It is possible that srcPath is extensively used in custom placement policy. 
> In this case, the incomplete srcPath may further cause AssertionError if try 
> to get INode with it inside placement policy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to