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

Standby NameNode process getLiveDatanodeStorageReport request to reduce Active load

    XMLWordPrintableJSON

Details

    • Reviewed

    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
          Tao Li

        Issue Links

          Activity

            People

              tomscut Tao Li
              tomscut Tao Li
              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