You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Xiaoyu Yao (JIRA)" <ji...@apache.org> on 2015/02/12 04:45:12 UTC

[jira] [Created] (HADOOP-11587) TestMapFile#testMainMethodMapFile creates test files in hadoop-common project root

Xiaoyu Yao created HADOOP-11587:
-----------------------------------

             Summary: 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


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)