You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Wei Yan (JIRA)" <ji...@apache.org> on 2018/02/28 22:23:00 UTC
[jira] [Updated] (HDFS-13208) RBF: Mount path not available after
ADD-REMOVE-ADD
[ https://issues.apache.org/jira/browse/HDFS-13208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei Yan updated HDFS-13208:
---------------------------
Description:
To reproduce this issue, run the following commands at Router 1:
{code:java}
$ hdfs dfsrouteradmin -add /test1 ns1 /ns1/test1
$ hdfs dfsrouteradmin -rm /test1
$ hdfs dfsrouteradmin -add /test1 ns1 /ns1/test1{code}
"hdfs dfs -ls hdfs://Router1:8020/test1" works well after step 1. After step 3 when we add /test1 back, Router 1 still returns "No such file or directory".
But after step 3, when we run cmd "hdfs dfs -ls hdfs://Router2:8020/test1" talking to another Router, it works well.
From Router logs, I can see StateStoreZookeeperImpl and MountTableResolver are updated correctly and in time. Not find the root case yet, still looking into it.
was:
To reproduce this issue, run the following commands at Router 1:
{code:java}
$ hdfs dfsrouteradmin -add /test1 ns1 /ns1/test1
$ hdfs dfsrouteradmin -rm /test1
$ hdfs dfsrouteradmin -add /test1{code}
"hdfs dfs -ls hdfs://Router1:8020/test1" works well after step 1. But after step 3 when we add /test1 back, Router 1 still returns "No such file or directory".
But after step 3, when we run cmd "hdfs dfs -ls hdfs://Router2:8020/test1" talking to another Router, it works well.
From Router logs, I can see StateStoreZookeeperImpl and MountTableResolver are updated correctly and in time. Not find the root case yet, still looking into it.
> RBF: Mount path not available after ADD-REMOVE-ADD
> --------------------------------------------------
>
> Key: HDFS-13208
> URL: https://issues.apache.org/jira/browse/HDFS-13208
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Wei Yan
> Assignee: Wei Yan
> Priority: Critical
>
> To reproduce this issue, run the following commands at Router 1:
> {code:java}
> $ hdfs dfsrouteradmin -add /test1 ns1 /ns1/test1
> $ hdfs dfsrouteradmin -rm /test1
> $ hdfs dfsrouteradmin -add /test1 ns1 /ns1/test1{code}
> "hdfs dfs -ls hdfs://Router1:8020/test1" works well after step 1. After step 3 when we add /test1 back, Router 1 still returns "No such file or directory".
> But after step 3, when we run cmd "hdfs dfs -ls hdfs://Router2:8020/test1" talking to another Router, it works well.
> From Router logs, I can see StateStoreZookeeperImpl and MountTableResolver are updated correctly and in time. Not find the root case yet, still looking into it.
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org