Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
Description
Scenario:-
- Create a mount point with RANDOM policy and with 2 Nameservices .
- List the target mount path of the Global path.
Actual Output:
===========
ls: `/apps5': No such file or directory
Expected Output:
=============
if the files are availabel list those files or if it's emtpy it will disply nothing
bin> ./hdfs dfsrouteradmin -add /apps5 hacluster,ns2 /tmp10 -order RANDOM -owner securedn -group hadoop Successfully added mount point /apps5 bin> ./hdfs dfs -ls /apps5 ls: `/apps5': No such file or directory bin> ./hdfs dfs -ls /apps3 Found 2 items drwxrwxrwx - user group 0 2018-08-09 19:55 /apps3/apps1 -rw-r--r-- 3 - user group 4 2018-08-10 11:55 /apps3/ttt
please refer the bellow image for mount inofrmation
/apps3 tagged with HASH policy
/apps5 tagged with RANDOM policy
/bin> ./hdfs dfsrouteradmin -ls Mount Table Entries: Source Destinations Owner Group Mode Quota/Usage /apps3 hacluster->/tmp3,ns2->/tmp4 securedn users rwxr-xr-x [NsQuota: -/-, SsQuota: -/-] /apps5 hacluster->/tmp5,ns2->/tmp5 securedn users rwxr-xr-x [NsQuota: -/-, SsQuota: -/-]
Attachments
Issue Links
- is related to
-
HDFS-13224 RBF: Resolvers to support mount points across multiple subclusters
- Resolved