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

RBF: Add period state refresh to keep router state near active namenode's

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • rbf
    • Reviewed

    Description

      When using the ObserverReadProxyProvider, clients can set 

      dfs.client.failover.observer.auto-msync-period... to periodically get the Active namenode's state. When using routers without the ObserverReadProxyProvider, this periodic update is lost.

      In a busy cluster, the Router constantly gets updated with the active namenode's state when

      1. There is a write operation.
      2. There is an operation (read/write) from a new clients.

      However, in the scenario when there are no new clients and no write operations, the state kept in the router can lag behind the active's. The router does update its state with responses from the Observer, but the observer may be lagging behind too.

      We should have a periodic refresh in the router to serve a similar role as dfs.client.failover.observer.auto-msync-period

      Attachments

        Issue Links

          Activity

            People

              simbadzina Simbarashe Dzinamarira
              simbadzina Simbarashe Dzinamarira
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: