HADOOP-9678. Merging change r1498790 from branch-1 to branch-1-win.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1498791 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9681. FileUtil.unTarUsingJava() should close the InputStream upon finishing. Contributed by Chuan Liu.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1499072 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9677. TestSetupAndCleanupFailure#testWithDFS fails on Windows. Contributed by Xi Fang.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1499102 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5330. JVM manager should not forcefully kill the process on Signal.TERM on Windows. Contributed by Xi Fang.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1499103 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9660 [WINDOWS] Powershell / cmd parses -Dkey=value from command line as [-Dkey, value] which breaks GenericsOptionParser (enis)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1499144 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9660. Addendum patch to avoid using Guava. Contributed by Enis Soztutar.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1499793 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9687. TestJobTrackerQuiescence and TestFileLengthOnClusterRestart failed caused by incorrect DFS path construction on Windows. Contributed by Xi Fang.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1499797 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9685. hadoop-config.cmd: builds a classpath that is too long on windows. Contributed by Raja Aluri.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1500829 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5371. TestProxyUserFromEnv#testProxyUserFromEnvironment failed caused by domains of windows users. Contributed by Xi Fang.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1500860 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5278. Distributed cache is broken when JT staging dir is not on the default FS. Contributed by Xi Fang.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1501462 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9718. Branch-1-win TestGroupFallback#testGroupWithFallback() failed caused by java.lang.UnsatisfiedLinkError. Contributed by Xi Fang.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1501896 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9719. Branch-1-win TestFsShellReturnCode#testChgrp() failed caused by incorrect exit codes. Contributed by Xi Fang.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1502062 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9722. Branch-1-win TestNativeIO failed caused by Window incompatible test case. Contributed by Xi Fang.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1502123 13f79535-47bb-0310-9956-ffa450edef68
HDFS-4975. Branch-1-win TestReplicationPolicy failed caused by stale data node handling. Contributed by Xi Fang.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1502341 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5391. TestNonLocalJobJarSubmission fails on Windows due to missing classpath entries. Contributed by Chris Nauroth.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1504303 13f79535-47bb-0310-9956-ffa450edef68
HDFS-5003. Merging change r1504356 from branch-1 to branch-1-win.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1504357 13f79535-47bb-0310-9956-ffa450edef68
HDFS-5001. TestAzureBlockPlacementPolicy and TestReplicationPolicyWithNodeGroup failed caused by 1) old APIs and 2) incorrect value of depthOfAllLeaves. Contributed by Xi Fang.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1504365 13f79535-47bb-0310-9956-ffa450edef68
HDFS-3794. Merging change r1504973 from branch-1 to branch-1-win.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1504974 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5406. Merging change r1505094 from branch-1 to branch-1-win.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1505096 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5405. Merging change r1505760 from branch-1 to branch-1-win.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1505766 13f79535-47bb-0310-9956-ffa450edef68