Harshakiran Reddy created HDFS-13817:
----------------------------------------
Summary: HDFSRouterFederation : when we create Mount point with
RANDOM policy and with 2 Nameservices, it won't work properly
Key: HDFS-13817
URL: https://issues.apache.org/jira/browse/HDFS-13817
Project: Hadoop HDFS
Issue Type: Bug
Components: federation
Reporter: Harshakiran Reddy
{{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}}
{noformat}
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
{noformat}
{{please refer the bellow image for mount inofrmation}}
{{/apps3 tagged with HASH policy}}
{{/apps5 tagged with RANDOM policy}}
{noformat}
/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: -/-]
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]