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

Standby NameNode process getLiveDatanodeStorageReport request to reduce Active load

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: None

      Description

      As with HDFS-13183, NameNodeConnector#getLiveDatanodeStorageReport() can also request to SNN to reduce the ANN load.

      There are two points that need to be mentioned:
      1. FSNamesystem#getDatanodeStorageReport() is OperationCategory.UNCHECKED, so we can access SNN directly.
      2. We can share the same UT(testBalancerRequestSBNWithHA) with NameNodeConnector#getBlocks().

        Attachments

        1. standyby-ipcserver.jpg
          1024 kB
          tomscut

          Issue Links

            Activity

              People

              • Assignee:
                tomscut tomscut
                Reporter:
                tomscut tomscut
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4.5h
                  4.5h