Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12615 Router-based HDFS federation phase 2
  3. HDFS-13208

RBF: Mount path not available after ADD-REMOVE-ADD

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      To reproduce this issue, run the following commands at Router 1:

      $ hdfs dfsrouteradmin -add /test1 ns1 /ns1/test1
      $ hdfs dfsrouteradmin -rm /test1
      $ hdfs dfsrouteradmin -add /test1 ns1 /ns1/test1

      "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.

       

       

      Attachments

        Issue Links

          Activity

            People

              ywskycn Wei Yan
              ywskycn Wei Yan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: