Description
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.