Merge r1581914 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1581915 13f79535-47bb-0310-9956-ffa450edef68
svn merge -c 1581936 from trunk for HDFS-6115. Call flush() for every append on block scan verification log.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1581937 13f79535-47bb-0310-9956-ffa450edef68
svn merge -c 1581964 from trunk for HADOOP-10440. HarFsInputStream.read(byte[]) updates position incorrectly.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1581965 13f79535-47bb-0310-9956-ffa450edef68
HDFS-5672. Merge r1581994 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1581996 13f79535-47bb-0310-9956-ffa450edef68
svn merge -c 1582015 from trunk for HADOOP-10437. Fix the javac warnings in the conf and the util package.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1582017 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-10441. Merge r1582043 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1582044 13f79535-47bb-0310-9956-ffa450edef68
YARN-1873. Fixed TestDistributedShell failure when the test cases are out of order. Contributed by Mit Desai.
svn merge --ignore-ancestry -c 1582060 ../../trunk/


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1582062 13f79535-47bb-0310-9956-ffa450edef68
Merge r1582068 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1582069 13f79535-47bb-0310-9956-ffa450edef68
Merge r1582073 from trunk.

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