Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12863

Ozone: Avoid configuration.get() call for each container report

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: HDFS-7240
    • Component/s: ozone
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      In ContainerReportManagerImpl.java, OzoneClientUtils.getScmHeartbeatInterval(config) is called for each container report. We should cache the interval and avoid calling Configuration.get(name).

        Attachments

        1. HDFS-12863-HDFS-7240.001.patch
          2 kB
          Akira Ajisaka
        2. HDFS-12863-HDFS-7240.002.patch
          2 kB
          Akira Ajisaka

          Activity

            People

            • Assignee:
              aajisaka Akira Ajisaka
              Reporter:
              aajisaka Akira Ajisaka
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: