[ 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.0001.patch Adds precondition to make sure {{chooseTargets}} receives either complete path or null. > 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)