hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7637) Fix the check condition for reserved path
Date Tue, 20 Jan 2015 15:28:38 GMT

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

Hudson commented on HDFS-7637:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2030 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2030/])
HDFS-7637. Fix the check condition for reserved path. Contributed by Yi Liu. (jing9: rev e843a0a8cee5c704a5d28cf14b5a4050094d341b)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java


> 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)

Mime
View raw message