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

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • HDFS-7240
    • ozone
    • None
    • 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.002.patch
          2 kB
          Akira Ajisaka
        2. HDFS-12863-HDFS-7240.001.patch
          2 kB
          Akira Ajisaka

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: