[
https://issues.apache.org/jira/browse/HDFS-9071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
He Tianyi updated HDFS-9071:
----------------------------
Attachment: HDFS-9071.0004.patch
Fix jenkins
> 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, HDFS-9071.0001.patch,
> HDFS-9071.0003.patch, HDFS-9071.0004.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)