MAPREDUCE-5260. Fix JvmManager to deal better with corner-cases in shutting down. Contributed by zhaoyunjiong.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1497918 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5318. Escape ampersand in JSPUtil. Contributed by Bohou Li.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1497933 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9665. Fixed BlockDecompressorStream#decompress to return -1 rather than throw EOF at end of file. Contributed by Zhijie Shen.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1497938 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9665. Committing new test case which was missed.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1497960 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-5351. Fixed a memory leak in JobTracker due to stable FS objects in FSCache. Contributed by Sandy Ryza.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1497962 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5351. Fixed a memory leak in JobTracker due to stable FS objects in FSCache. Contributed by Sandy Ryza.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1497963 13f79535-47bb-0310-9956-ffa450edef68
HDFS-4944. WebHDFS cannot create a file path containing characters that must be URI-encoded, such as space. Contributed by Chris Nauroth.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1498059 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9678. TestRPC#testStopsAllThreads intermittently fails on Windows. Contributed by Ivan Mitic.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1498790 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5364. Deadlock between RenewalTimerTask methods cancel() and run(). (kkambatl via tucu)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1499566 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5364. Committed to branch-1.2 also.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1499900 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5375. Use short name for renewing delegation tokens. Contributed by Venkat Ranganathan.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1499902 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5351. Addedndum patch to ensure we don't incorrectly close wrong filesystems. Contributed by Sandy Ryza.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1499904 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5368. Reduce memory footprint of JobTracker by using non-default values for hash-tables to store Locality and Avataar for TaskAttempts. Contributed by zhaoyunjiong.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1499906 13f79535-47bb-0310-9956-ffa450edef68
Fix up a little test failure. Contributed by atm.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1500336 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9504 MetricsDynamicMBeanBase has concurrency issues in createMBeanInfo. Contributed by Liang Xie and Jason Lowe.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1500339 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5256 not needed in branch-1.  See r1500340 in branch-1.2

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1500342 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-9307. BufferedFSInputStream.read returns wrong results after certain seeks. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1500863 13f79535-47bb-0310-9956-ffa450edef68
HDFS-4521.  Invalid Network Topologies should not be cached (Junping Du via Colin Patrick McCabe)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1503497 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-8873. Port HADOOP-8175 (Add mkdir -p flag) to branch-1. Contributed by Akira Ajisaka.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1504007 13f79535-47bb-0310-9956-ffa450edef68
HDFS-4903. Print trash configuration and trash emptier state in namenode log. Contributed by Arpit Agarwal.

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