HDFS-4597. Backport WebHDFS concat.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1455883 13f79535-47bb-0310-9956-ffa450edef68
HADOOP-7101. UserGroupInformation.getCurrentUser() fails when called from non-Hadoop JAAS context. Backported by Suresh Srinivas.

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