[ 
https://issues.apache.org/jira/browse/HDFS-7637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jing Zhao updated HDFS-7637:
----------------------------
       Resolution: Fixed
    Fix Version/s: 2.7.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

I've committed this to trunk and branch-2. Thanks for the contribution, 
[~hitliuyi]! And thanks for the review, [~clamb]!

> 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
>             Fix For: 2.7.0
>
>         Attachments: HDFS-7637.001.patch
>
>
> 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/}}, for example: if some other directory prefix with 
> _/.reserved_, we say it's _/.reservedpath_, then the check is wrong.



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

Reply via email to