You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by um...@apache.org on 2020/06/07 21:33:11 UTC

[hadoop] branch revert-2059-HDFS-15396 created (now 0d43235)

This is an automated email from the ASF dual-hosted git repository.

umamahesh pushed a change to branch revert-2059-HDFS-15396
in repository https://gitbox.apache.org/repos/asf/hadoop.git.


      at 0d43235  Revert "HDFS-15396. Fix TestViewFileSystemOverloadSchemeHdfsFileSystemContract#testListStatusRootDir. Contributed by Ayush Saxena."

This branch includes the following new commits:

     new 0d43235  Revert "HDFS-15396. Fix TestViewFileSystemOverloadSchemeHdfsFileSystemContract#testListStatusRootDir. Contributed by Ayush Saxena."

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


[hadoop] 01/01: Revert "HDFS-15396. Fix TestViewFileSystemOverloadSchemeHdfsFileSystemContract#testListStatusRootDir. Contributed by Ayush Saxena."

Posted by um...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

umamahesh pushed a commit to branch revert-2059-HDFS-15396
in repository https://gitbox.apache.org/repos/asf/hadoop.git

commit 0d43235d96804f945aa22c119fab239d0c8473da
Author: Uma Maheswara Rao G <um...@apache.org>
AuthorDate: Sun Jun 7 14:33:01 2020 -0700

    Revert "HDFS-15396. Fix TestViewFileSystemOverloadSchemeHdfsFileSystemContract#testListStatusRootDir. Contributed by Ayush Saxena."
    
    This reverts commit a8610c15c498531bf3c011f1b0ace8eddddf61f2.
---
 .../src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java      | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java
index 2711bff..142785a 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java
@@ -1202,9 +1202,6 @@ public class ViewFileSystem extends FileSystem {
           INodeLink<FileSystem> link = (INodeLink<FileSystem>) inode;
           try {
             String linkedPath = link.getTargetFileSystem().getUri().getPath();
-            if("".equals(linkedPath)) {
-              linkedPath = "/";
-            }
             FileStatus status =
                 ((ChRootedFileSystem)link.getTargetFileSystem())
                 .getMyFs().getFileStatus(new Path(linkedPath));


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org