hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ji...@apache.org
Subject hadoop git commit: HDFS-9196. Fix TestWebHdfsContentLength. Contributed by Masatake Iwasaki.
Date Wed, 07 Oct 2015 06:57:27 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 99126714a -> a4b8dc48f


HDFS-9196. Fix TestWebHdfsContentLength. Contributed by Masatake Iwasaki.

(cherry picked from commit 239d119c6707e58c9a5e0099c6d65fe956e95140)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/a4b8dc48
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/a4b8dc48
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/a4b8dc48

Branch: refs/heads/branch-2
Commit: a4b8dc48f19351c8d66d59e1fdf684eeee6d4a86
Parents: 9912671
Author: Jing Zhao <jing9@apache.org>
Authored: Tue Oct 6 23:54:49 2015 -0700
Committer: Jing Zhao <jing9@apache.org>
Committed: Tue Oct 6 23:55:33 2015 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java    | 2 +-
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                        | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/a4b8dc48/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
index 9f5c8cf..b528fdb 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
+++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
@@ -211,7 +211,7 @@ public class WebHdfsFileSystem extends FileSystem
               failoverSleepMaxMillis);
     }
 
-    this.workingDir = makeQualified(getHomeDirectory());
+    this.workingDir = makeQualified(new Path(getHomeDirectoryString(ugi)));
     this.canRefreshDelegationToken = UserGroupInformation.isSecurityEnabled();
     this.disallowFallbackToInsecureCluster = !conf.getBoolean(
         CommonConfigurationKeys.IPC_CLIENT_FALLBACK_TO_SIMPLE_AUTH_ALLOWED_KEY,

http://git-wip-us.apache.org/repos/asf/hadoop/blob/a4b8dc48/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index 6d928c0..8a3bec8 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -1156,6 +1156,8 @@ Release 2.8.0 - UNRELEASED
 
     HDFS-7899. Improve EOF error message (Jagadesh Kiran N via vinayakumarb)
 
+    HDFS-9196. Fix TestWebHdfsContentLength. (Masatake Iwasaki via jing9)
+
 Release 2.7.2 - UNRELEASED
 
   INCOMPATIBLE CHANGES


Mime
View raw message