[jira] [Commented] (HDFS-13817) RBF: create mount point with RANDOM policy and with 2 Nameservices doesn't work properly

2019-01-20 Thread venkata ramkumar (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-13817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16747677#comment-16747677
 ] 

venkata ramkumar commented on HDFS-13817:
-

Verified by creating a mount entry.
{noformat}
/bin> ./hdfs dfsrouteradmin -add /apps5 hacluster1,hacluster2 /tmp10 -order 
RANDOM -owner securedn -group hadoop
Successfully added mount point /apps5
{noformat}

once the target directory is created able to get the output for ./hdfs dfs -ls 
/apps5
{noformat}
/bin> ./hdfs dfs -mkdir hdfs://hacluster1/tmp10
/bin> ./hdfs dfs -mkdir hdfs://hacluster2/tmp10
/bin> ./hdfs dfs -ls /apps5
{noformat}


> RBF: create mount point with RANDOM policy and with 2 Nameservices doesn'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
>Assignee: venkata ramkumar
>Priority: Major
>  Labels: RBF
>
> {{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:
> SourceDestinations  Owner 
> Group Mode  Quota/Usage
> /apps3hacluster->/tmp3,ns2->/tmp4 securedn
>   users rwxr-xr-x [NsQuota: -/-, SsQuota: 
> -/-]
> /apps5hacluster->/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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13817) RBF: create mount point with RANDOM policy and with 2 Nameservices doesn't work properly

2018-09-11 Thread Ayush Saxena (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-13817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16611615#comment-16611615
 ] 

Ayush Saxena commented on HDFS-13817:
-

Thanx [~Harsha1206] for reporting tried to check this.
This scenario doesn't seems to be present at the present stage.
Pls give it a check once more.

> RBF: create mount point with RANDOM policy and with 2 Nameservices doesn'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
>Priority: Major
>  Labels: RBF
>
> {{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:
> SourceDestinations  Owner 
> Group Mode  Quota/Usage
> /apps3hacluster->/tmp3,ns2->/tmp4 securedn
>   users rwxr-xr-x [NsQuota: -/-, SsQuota: 
> -/-]
> /apps5hacluster->/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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13817) RBF: create mount point with RANDOM policy and with 2 Nameservices doesn't work properly

2018-08-19 Thread Harshakiran Reddy (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-13817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16585443#comment-16585443
 ] 

Harshakiran Reddy commented on HDFS-13817:
--

[~linyiqun], thanks for Watching this issue and I haven't seen any other error 
log that time.

> RBF: create mount point with RANDOM policy and with 2 Nameservices doesn'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
>Priority: Major
>  Labels: RBF
>
> {{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:
> SourceDestinations  Owner 
> Group Mode  Quota/Usage
> /apps3hacluster->/tmp3,ns2->/tmp4 securedn
>   users rwxr-xr-x [NsQuota: -/-, SsQuota: 
> -/-]
> /apps5hacluster->/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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13817) RBF: create mount point with RANDOM policy and with 2 Nameservices doesn't work properly

2018-08-13 Thread Yiqun Lin (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-13817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16579197#comment-16579197
 ] 

Yiqun Lin commented on HDFS-13817:
--

[~Harsha1206], did you see other error log when executing command '/hdfs dfs 
-ls /apps5'?

> RBF: create mount point with RANDOM policy and with 2 Nameservices doesn'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
>Priority: Major
>  Labels: RBF
>
> {{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:
> SourceDestinations  Owner 
> Group Mode  Quota/Usage
> /apps3hacluster->/tmp3,ns2->/tmp4 securedn
>   users rwxr-xr-x [NsQuota: -/-, SsQuota: 
> -/-]
> /apps5hacluster->/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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org