[ 
https://issues.apache.org/jira/browse/HDFS-16749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiping Zhang updated HDFS-16749:
--------------------------------
    Description: 
// Current User :zhangxiping

// router  =》  ns0 ,ns1 

{*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfsrouteradmin -ls{color}
Mount Table Entries:
Source                    Destinations              Owner                     
Group                     Mode       Quota/Usage
/user/a                   ns0->/user/a(Priority:0,Readonly:false) zhangxiping   
            Administrators            rwxr-xr-x  [NsQuota: -/-, SsQuota: -/-]
/user/b                   ns0->/user/b(Priority:0,Readonly:false) zhangxiping   
            Administrators            rwxr-xr-x  [NsQuota: -/-, SsQuota: -/-]
/user/c                   ns0->/user/c(Priority:0,Readonly:false) zhangxiping   
            Administrators            rwxr-xr-x  [NsQuota: -/-, SsQuota: -/-]

{*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfs -ls hdfs://ns0/user{color}
Found 4 items
drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:17 
hdfs://ns0/user/a
drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:17 
hdfs://ns0/user/b
drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:17 
hdfs://ns0/user/c
drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:11 
hdfs://ns0/user/zhangxiping

{*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfs -ls hdfs://ns1/user{color}
ls: `hdfs://ns1/user': No such file or directory

{*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfs -ls 
hdfs://ns0/user/zhangxiping/.Trash/Current/user{color}
Found 1 items
drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:14 
hdfs://ns0/user/zhangxiping/.Trash/Current/user/d

{*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfs -ls 
/user/zhangxiping/.Trash/Current/user      //Requests to the router{color}
Found 4 items
{color:#00875a}drwxrwxrwx   - zhangxiping supergroup          0 1970-01-01 
08:00 /user/zhangxiping/.Trash/Current/user/a  {color}
{color:#00875a}drwxrwxrwx   - zhangxiping supergroup          0 1970-01-01 
08:00 /user/zhangxiping/.Trash/Current/user/b{color}
{color:#00875a}drwxrwxrwx   - zhangxiping supergroup          0 1970-01-01 
08:00 /user/zhangxiping/.Trash/Current/user/c    {color:#de350b}*//The records 
on it shouldn't exist*{color}{color}
drwxr-xr-x     - zhangxiping supergroup          0 2022-10-18 10:14 
/user/zhangxiping/.Trash/Current/user/d

  was:
// Current User :zhangxiping

// router  =》  ns0 ,ns1 

{*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfsrouteradmin -ls{color}
Mount Table Entries:
Source                    Destinations              Owner                     
Group                     Mode       Quota/Usage
/user/a                   ns0->/user/a(Priority:0,Readonly:false) zhangxiping   
            Administrators            rwxr-xr-x  [NsQuota: -/-, SsQuota: -/-]
/user/b                   ns0->/user/b(Priority:0,Readonly:false) zhangxiping   
            Administrators            rwxr-xr-x  [NsQuota: -/-, SsQuota: -/-]
/user/c                   ns0->/user/c(Priority:0,Readonly:false) zhangxiping   
            Administrators            rwxr-xr-x  [NsQuota: -/-, SsQuota: -/-]

{*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfs -ls hdfs://ns0/user{color}
Found 4 items
drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:17 
hdfs://ns0/user/a
drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:17 
hdfs://ns0/user/b
drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:17 
hdfs://ns0/user/c
drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:11 
hdfs://ns0/user/zhangxiping

{*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfs -ls hdfs://ns1/user{color}
ls: `hdfs://ns1/user': No such file or directory

{*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfs -ls 
hdfs://ns0/user/zhangxiping/.Trash/Current/user{color}
Found 1 items
drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:14 
hdfs://ns0/user/zhangxiping/.Trash/Current/user/d

{*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfs -ls 
/user/zhangxiping/.Trash/Current/user      //Requests to the router{color}
Found 4 items
{color:#00875a}drwxrwxrwx   - zhangxiping supergroup          0 1970-01-01 
08:00 /user/zhangxiping/.Trash/Current/user/a  {color}
{color:#00875a}drwxrwxrwx   - zhangxiping supergroup          0 1970-01-01 
08:00 /user/zhangxiping/.Trash/Current/user/b{color}
{color:#00875a}drwxrwxrwx   - zhangxiping supergroup          0 1970-01-01 
08:00 /user/zhangxiping/.Trash/Current/user/c    //The records on it shouldn't 
exist{color}
drwxr-xr-x     - zhangxiping supergroup          0 2022-10-18 10:14 
/user/zhangxiping/.Trash/Current/user/d


> RBF:Gets the wrong directory information from Trash
> ---------------------------------------------------
>
>                 Key: HDFS-16749
>                 URL: https://issues.apache.org/jira/browse/HDFS-16749
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Xiping Zhang
>            Priority: Critical
>
> // Current User :zhangxiping
> // router  =》  ns0 ,ns1 
> {*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfsrouteradmin -ls{color}
> Mount Table Entries:
> Source                    Destinations              Owner                     
> Group                     Mode       Quota/Usage
> /user/a                   ns0->/user/a(Priority:0,Readonly:false) zhangxiping 
>               Administrators            rwxr-xr-x  [NsQuota: -/-, SsQuota: 
> -/-]
> /user/b                   ns0->/user/b(Priority:0,Readonly:false) zhangxiping 
>               Administrators            rwxr-xr-x  [NsQuota: -/-, SsQuota: 
> -/-]
> /user/c                   ns0->/user/c(Priority:0,Readonly:false) zhangxiping 
>               Administrators            rwxr-xr-x  [NsQuota: -/-, SsQuota: 
> -/-]
> {*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfs -ls hdfs://ns0/user{color}
> Found 4 items
> drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:17 
> hdfs://ns0/user/a
> drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:17 
> hdfs://ns0/user/b
> drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:17 
> hdfs://ns0/user/c
> drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:11 
> hdfs://ns0/user/zhangxiping
> {*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfs -ls hdfs://ns1/user{color}
> ls: `hdfs://ns1/user': No such file or directory
> {*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfs -ls 
> hdfs://ns0/user/zhangxiping/.Trash/Current/user{color}
> Found 1 items
> drwxr-xr-x   - zhangxiping supergroup          0 2022-10-18 10:14 
> hdfs://ns0/user/zhangxiping/.Trash/Current/user/d
> {*}\project\hadoop3.3.0{*}>{color:#ff0000}hdfs dfs -ls 
> /user/zhangxiping/.Trash/Current/user      //Requests to the router{color}
> Found 4 items
> {color:#00875a}drwxrwxrwx   - zhangxiping supergroup          0 1970-01-01 
> 08:00 /user/zhangxiping/.Trash/Current/user/a  {color}
> {color:#00875a}drwxrwxrwx   - zhangxiping supergroup          0 1970-01-01 
> 08:00 /user/zhangxiping/.Trash/Current/user/b{color}
> {color:#00875a}drwxrwxrwx   - zhangxiping supergroup          0 1970-01-01 
> 08:00 /user/zhangxiping/.Trash/Current/user/c    {color:#de350b}*//The 
> records on it shouldn't exist*{color}{color}
> drwxr-xr-x     - zhangxiping supergroup          0 2022-10-18 10:14 
> /user/zhangxiping/.Trash/Current/user/d



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to