hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hairong Kuang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-709) TestDFSShell failure
Date Thu, 15 Oct 2009 19:13:31 GMT

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

Hairong Kuang commented on HDFS-709:

It looks good. 

What's the expected behavior if renaming directory /a/b to be /a/b/? Could you please add
a unit test for this?

> TestDFSShell failure
> --------------------
>                 Key: HDFS-709
>                 URL: https://issues.apache.org/jira/browse/HDFS-709
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.21.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.21.0
>         Attachments: hdfs-709.patch
> HDFS-677 introduced check in rename to reject rename from src to dst where dst starts
with src. This results in a bug where rename from /test /testFoo fails. Instead of testing
dst starts with src, the check should be modified so that dst cannot be a directory or a file
under src.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message