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

The background replication queue initialization may not let others run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.7.0
    • rolling upgrades
    • None
    • Reviewed

    Description

      The background replication queue initialization processes configured number of blocks at a time and releases the namesystem write lock. This was to let namenode start serving right after a standby to active transition or leaving safe mode. However, this does not allow others to run much if the lock fairness is set to "unfair" for the higher throughput.

      I propose adding a delay between unlocking and locking in the async repl queue init thread.

      Attachments

        1. HDFS-7603.patch
          1 kB
          Kihwal Lee
        2. HDFS-7603.patch
          0.8 kB
          Kihwal Lee

        Activity

          People

            kihwal Kihwal Lee
            kihwal Kihwal Lee
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: