HADOOP-8981. Merge change 1485464 from branch-1

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1485465 13f79535-47bb-0310-9956-ffa450edef68
svn merge -c 1488865 from branch-1 for HDFS-4261. Fix bugs in Balaner causing infinite loop and TestBalancerWithNodeGroup timeing out.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1488867 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9579. Contrib ant test target not setting the java.library.path. Contributed by Ivan Mitic.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1490142 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9552. Windows log4j template should suppress info messages from mortbay.log. Contributed by Ivan Mitic.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1490146 13f79535-47bb-0310-9956-ffa450edef68
HDFS-4677. Editlog should support synchronous writes. Contributed by Ivan Mitic.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1491110 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5224. JobTracker should allow the system directory to be in non-default FS. Contributed by Xi Fang.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1493458 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9624. TestFSMainOperationsLocalFileSystem failed when the Hadoop test root path has "X" in its name. Contributed by Xi Fang.

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