YARN-2673. Made timeline client put APIs retry if ConnectException happens. Contributed by Li Lu.

(cherry picked from commit 89427419a3c5eaab0f73bae98d675979b9efab5f)

Conflicts:
	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java
	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml
YARN-2582. Fixed Log CLI and Web UI for showing aggregated logs of LRS. Contributed Xuan Gong.

(cherry picked from commit e90718fa5a0e7c18592af61534668acebb9db51b)
YARN-1972. Added a secure container-executor for Windows. Contributed by Remus Rusanu.
commit ba7f31c2ee8d23ecb183f88920ef06053c0b9769 is the corresponding trunk commit, this is a slightly different patch for branch-2.
(cherry picked from commit 3326fba382350db88ccaa67625f92fa1dc5fd3e3)

Conflicts:
	hadoop-yarn-project/CHANGES.txt
YARN-2701. Potential race condition in startLocalizer when using LinuxContainerExecutor. Contributed by Xuan Gong
(cherry picked from commit 2839365f230165222f63129979ea82ada79ec56e)
Missing file for YARN-2701
(cherry picked from commit 4fa1fb3193bf39fcb1bd7f8f8391a78f69c3c302)
Missing file for YARN-1879
(cherry picked from commit 4a78a752286effbf1a0d8695325f9d7464a09fb4)
YARN-2717. Avoided duplicate logging when container logs are not found. Contributed by Xuan Gong.

(cherry picked from commit 171f2376d23d51b61b9c9b3804ee86dbd4de033a)