HDFS-6340: Merging r1593437 from branch-2 to branch-2.4.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1593438 13f79535-47bb-0310-9956-ffa450edef68
svn merge -c 1593470 merging from trunk to branch-2 to fix:HDFS-6329. WebHdfs does not work if HA is enabled on NN but logical URI is not configured. Contributed by Kihwal Lee.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1593472 13f79535-47bb-0310-9956-ffa450edef68
HDFS-6313. WebHdfs may use the wrong NN when configured for multiple HA NNs. Contributed by Kihwal Lee.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1593477 13f79535-47bb-0310-9956-ffa450edef68
YARN-1701. Improved default paths of the timeline store and the generic history store. Contributed by Tsuyoshi Ozawa.
svn merge --ignore-ancestry -c 1593481 ../../trunk/


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1593485 13f79535-47bb-0310-9956-ffa450edef68
YARN-1962. Changed Timeline Service client configuration to be off by default given the non-readiness of the feature yet. Contributed by Mohammad Kamrul Islam.
svn merge --ignore-ancestry -c 1593750 ../../trunk/


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1593752 13f79535-47bb-0310-9956-ffa450edef68
Merge r1593875 from branch-2. YARN-1975. Fix yarn application CLI to print the scheme of the tracking url of failed/killed applications. Contributed by Junping Du

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1593876 13f79535-47bb-0310-9956-ffa450edef68
Fixing a prev merge/commit error

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1594058 13f79535-47bb-0310-9956-ffa450edef68
Merge r1594086 from branch-2. YARN-2016. Fix a bug in GetApplicationsRequestPBImpl to add the missed fields to proto. Contributed by Junping Du

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1594087 13f79535-47bb-0310-9956-ffa450edef68
Merge r1594124 from branch-2. YARN-1976. Fix CHANGES.txt for YARN-1976.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1594125 13f79535-47bb-0310-9956-ffa450edef68
YARN-1861. Fixed a bug in RM to reset leader-election on fencing that was causing both RMs to be stuck in standby mode when automatic failover is enabled. Contributed by Karthik Kambatla and Xuan Gong.
svn merge --ignore-ancestry -c 1594356 ../../trunk/


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1594359 13f79535-47bb-0310-9956-ffa450edef68
YARN-1957. Consider the max capacity of the queue when computing the ideal
capacity for preemption. Contributed by Carlo Curino


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1594416 13f79535-47bb-0310-9956-ffa450edef68
YARN-1986. In Fifo Scheduler, node heartbeat in between creating app and attempt causes NPE (Hong Zhiguo via Sandy Ryza)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1594479 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5821. Avoid unintentional reallocation of byte arrays in segments
during merge. Contributed by Todd Lipcon


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1594656 13f79535-47bb-0310-9956-ffa450edef68
HDFS-6326. WebHdfs ACL compatibility is broken. Contributed by Chris Nauroth.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1594975 13f79535-47bb-0310-9956-ffa450edef68
HDFS-6361. Merging change r1595053 from branch-2

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1595058 13f79535-47bb-0310-9956-ffa450edef68
HDFS-4052. Merge r1595063 from branch-2 to branch-2.4

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1595065 13f79535-47bb-0310-9956-ffa450edef68
HDFS-6362. Merge r1595066 from branch-2 to branch-2.4

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1595069 13f79535-47bb-0310-9956-ffa450edef68
HDFS-6402. Merging change r1595071 from branch-2 to branch-2.4

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1595076 13f79535-47bb-0310-9956-ffa450edef68
Merge r1595117 and r1595128 from branch-2.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.4@1595133 13f79535-47bb-0310-9956-ffa450edef68
Merge r1595416 from branch-2: Wrong field is referenced in GetApplicationsRequestPBImpl#mergeLocalToBuilder (Contributed by Hong Zhiguo)

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