Install Cygwin (http://www.cygwin.com/install.html)
Add the Cygwin bin directory to your PATH environment variable (e.g., setx PATH "%PATH%;C:\cygwin\bin")
Add the Conga, Inc. patch for Windows file permission exceptions to your project (https://github.com/congainc/patch-hadoop_7682-1.0.x-win)
Add code like this to your project: