You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Yi Liu (JIRA)" <ji...@apache.org> on 2015/01/19 08:58:34 UTC
[jira] [Created] (HDFS-7637) Fix the check condition for reserved
path
Yi Liu created HDFS-7637:
----------------------------
Summary: Fix the check condition for reserved path
Key: HDFS-7637
URL: https://issues.apache.org/jira/browse/HDFS-7637
Project: Hadoop HDFS
Issue Type: Bug
Reporter: Yi Liu
Assignee: Yi Liu
Priority: Minor
Currently the {{.reserved}} patch check function is:
{code}
public static boolean isReservedName(String src) {
return src.startsWith(DOT_RESERVED_PATH_PREFIX);
}
{code}
And {{DOT_RESERVED_PATH_PREFIX}} is {{/.reserved}}, it should be {{/.reserved/}}, other some directory may prefix with _/.reserved_.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)