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

The background replication queue initialization may not let others run

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: rolling upgrades
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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
          0.8 kB
          Kihwal Lee
        2. HDFS-7603.patch
          1 kB
          Kihwal Lee

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: