Distribution build relies on sh scripts that do not work on Windows.
Enhancements to YARN for Windows Server and Windows Azure development and runtime environments
Building hadoop tarball fails on Windows
HDFS distribution build fails on Windows
MapReduce distribution build fails on Windows
YARN build script would be more readable using abspath