Xing Lin created HDFS-16790:
-------------------------------
Summary: rbf wrong path when destination dir is not created
Key: HDFS-16790
URL: https://issues.apache.org/jira/browse/HDFS-16790
Project: Hadoop HDFS
Issue Type: Bug
Components: rbf
Affects Versions: 3.4.0
Reporter: Xing Lin
mount table at router
{code:java}
$HADOOP_HOME/bin/hdfs dfsrouteradmin -ls
/data1 ns1->/data
/data2 ns2->/data
/data3 ns3->/data
{code}
At a client node, when /data is not created in ns2, the error message shows a
wrong path.
{code:java}
utos@c01:/usr/local/bin/hadoop-3.4.0-SNAPSHOT$ bin/hadoop dfs -ls
hdfs://ns-fed/data2
ls: File hdfs://ns-fed/data2/data2 does not exist.
utos@c01:/usr/local/bin/hadoop-3.4.0-SNAPSHOT$ bin/hadoop dfs -ls
hdfs://ns-fed/data3
-rw-r--r-- 3 utos supergroup 0 2022-10-02 17:35
hdfs://ns-fed/data3/file3
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]