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

Set dfs.client.failover.random.order to true as default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • hdfs-client
    • None
    • Reviewed

    Description

      Currently, the default value of dfs.client.failover.random.order is
      false. If it's true, clients access to NameNodes random order instead
      of the configured order which is defined in hdfs-site.xml.
      
      Setting dfs.client.failover.random.order=true is very important for
      RBF if there are multiple routers. If it's false, all the clients
      point to the same router because routers are always active.
      
      And I think dfs.client.failover.random.order=true would be good manner
      for normal HA(two-NameNodes) Cluster too. If it's false and the first
      NameNode is standby, clients always access to standby NameNode at
      first.
      
      So I'd like to set dfs.client.failover.random.order to true as default
      from 3.4. Does anyone have any concerns?
      

      https://lists.apache.org/thread.html/ra79dde30235a1d302ea82120de8829c0aa7d6c0789f4613430610b8a%40%3Chdfs-dev.hadoop.apache.org%3E

      Attachments

        Issue Links

          Activity

            People

              tasanuma Takanobu Asanuma
              tasanuma Takanobu Asanuma
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: