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-11587) TestMapFile#testMainMethodMapFile creates test files in hadoop-common project root
Date Thu, 12 Feb 2015 18:48:13 GMT

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

Hudson commented on HADOOP-11587:
---------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #7091 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/7091/])
HADOOP-11587. TestMapFile#testMainMethodMapFile creates test files in hadoop-common project
root. Contributed by Xiaoyu Yao. (wheat9: rev bc5aa7d0b112924ccea946d0ee8f066fb417b25d)
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestMapFile.java
* hadoop-common-project/hadoop-common/CHANGES.txt


> TestMapFile#testMainMethodMapFile creates test files in hadoop-common project root
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-11587
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11587
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>            Priority: Trivial
>             Fix For: 2.7.0
>
>         Attachments: HADOOP_11587.0.patch
>
>
> After running TestMapFile#testMainMethodMapFile, two files (data and index) and a directory
remain in hadoop-common project root dir. 
> hadoop-common-project$ git status
> Untracked files:
>   (use "git add <file>..." to include in what will be committed)
>   hadoop-common/mainMethodMapFile.mapfile/
> ...
> hadoop-common-project$ tree hadoop-common/mainMethodMapFile.mapfile/
> hadoop-common/mainMethodMapFile.mapfile/
> ├── data
> └── index
> The fix is to use "path" instead of "mainMethodMapFile.mapfile" as output file when calling
MapFile.Main(). I will post a patch soon for it.



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

Mime
View raw message