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

Invalid negative values for some AMS metrics

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • ambari-metrics
    • None

    Description

      PROBLEM
      Negative values are being reported for IOPS in the "system servers" dashboard

      BUG
      This was a dockerized environment. Negative rate values were seen because read/write counters were dropping below the previous values at random times. On further investigation, it revealed that this was due to the docker volume groups present on the host. It is expected of docker containers to add/remove the volume groups during the lifecyle of a container. So, when a volume group goes away, the read/write counters do not contribute to the total counter values, thus making the value go below the last seen value.

      FIX
      Have a provision to discard such "special" disk partitions through a skip pattern. Individual disk counter metrics can be used to get disk specific counter values. If skipped, they will not contribute to the global counter metric.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            avijayan Aravindan Vijayan
            avijayan Aravindan Vijayan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment