Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16790

rbf wrong path when destination dir is not created

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.4.0
    • None
    • rbf
    • None

    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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            xinglin Xing Lin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: