I am attaching a patch that is a consolidated port of branch-1-win changes that have not yet made it to branch-trunk-win. This patch is meant to port the following branch-1-win jiras:
I have tested this patch, including the new TestWinUtils suite, on Mac and Windows.
Please credit this patch to the full list of original contributors: Chuan Liu, Ivan Mitic, Chris Nauroth, and Bikas Saha.
Please also note that I have attached 2 binary files: test-untar.tar and test-untar.tgz. These must be committed to hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs. (I couldn't figure out a good way to put binary files into the patch.)