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

Ambari alert "NameNode Last Checkpoint" failing when NameNode is HA

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None

    Description

      The "NameNode Last Checkpoint" alert is implemented in
      alert_checkpoint_time.py. This script uses the value of **dfs.namenode.http-
      address** property for querying the last checkpoint timestamp.

      This works fine when the NN is not in HA mode. However when NN is in HA mode
      this property is either not defined or might not be pointing to the right NN
      instance.

      The script needs to be improved such as to figure out if the NN is in HA mode.
      If it's in HA mode do not use *dfs.namenode.http-address* property but
      rather determine the correct URL to connect to similarly as how it's done in
      the alert_ha_namenode_health.py

      Attachments

        1. AMBARI-17339.patch
          8 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: