Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25821

Fixed syntax error that caused OOM in the ambari-metrics-collector

    XMLWordPrintableJSON

Details

    Description

      The following code does not find a method StopHandler.

      This will cause the scheduled task of calculating and uploading data with an interval of 60 seconds to fail. Here's the picture.

      Ambari-2.7 does not have this problem in the first place. The problem is caused by the spin-off of the Ambari-Metrics sub-project from Ambari.

      The reason is that ambari-metrics also relies on OS_check in ambari-commons. After the subproject is split, ambari-commons module is not pulled over, so the subproject ambari-metrics needs to remove the commons dependency. However, there are omissions in this process leading to incomplete adaptation.

      Attachments

        1. screenshot-1.png
          190 kB
          Yu Hou
        2. screenshot-2.png
          260 kB
          Yu Hou

        Issue Links

          Activity

            People

              houyu Yu Hou
              houyu Yu Hou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: