hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10582) Fix the test case for copying to non-existent dir in TestFsShellCopy
Date Mon, 18 May 2015 07:45:00 GMT

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

Hudson commented on HADOOP-10582:
---------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #7849 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/7849/])
HADOOP-10582. Fix the test case for copying to non-existent dir in TestFsShellCopy. Contributed
by Kousuke Saruta. (aajisaka: rev a46506d99cb1310c0e446d590f36fb9afae0fa60)
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFsShellCopy.java


> Fix the test case for copying to non-existent dir in TestFsShellCopy
> --------------------------------------------------------------------
>
>                 Key: HADOOP-10582
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10582
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0
>            Reporter: Kousuke Saruta
>            Assignee: Kousuke Saruta
>            Priority: Minor
>              Labels: BB2015-05-RFC
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-10582.patch
>
>
> In TestFsShellCopy#checkPut, there is a following code.
> {code}
> final Path dstPath = new Path("path");
> final Path childPath = new Path(dstPath, "childPath");
> ...
> // copy to non-existent subdir
> prepPut(childPath, false, false);
> checkPut(1, srcPath, dstPath, useWindowsPath);
> {code}
> The code expect to test the case when we put a file to non-exsistent directory. But the
code delete childPath and then copy to its parent directory (dstPath).



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

Mime
View raw message