Description
mount table at router
$HADOOP_HOME/bin/hdfs dfsrouteradmin -ls /data1 ns1->/data /data2 ns2->/data /data3 ns3->/data
At a client node, when /data is not created in ns2, the error message shows a wrong path.
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