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

Alerts: DDL for alert_current requires latest_text

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: ambari-server
    • Labels:
      None

      Description

      Current alert data needs to have a latest_text field that indicates the last text retrieved from the server. For example:

      time1: OK: 1 CPU, load 3.2%
      time2: OK: 1 CPU, load 4.5%

      The 2nd report from the agent will not result in a new record, but the UI needs the text from time2. Saving that with alert_current will solve that problem.

        Issue Links

          Activity

          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-trunk-Commit #218 (See https://builds.apache.org/job/Ambari-trunk-Commit/218/)
          AMBARI-7263. Alerts: DDL for alert_current requires latest_text (ncole) (ncole: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3035978fba2921e81e83eedc8fd77090f6442b94)

          • ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertCurrentEntity.java
          • ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql
          • ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog170.java
          • ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog170Test.java
          • ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql
          • ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
          • ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #218 (See https://builds.apache.org/job/Ambari-trunk-Commit/218/ ) AMBARI-7263 . Alerts: DDL for alert_current requires latest_text (ncole) (ncole: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3035978fba2921e81e83eedc8fd77090f6442b94 ) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertCurrentEntity.java ambari-server/src/main/resources/Ambari-DDL-Postgres-EMBEDDED-CREATE.sql ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog170.java ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog170Test.java ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
          Hide
          ncole@hortonworks.com Nate Cole added a comment -

          commit 3035978fba2921e81e83eedc8fd77090f6442b94

          Show
          ncole@hortonworks.com Nate Cole added a comment - commit 3035978fba2921e81e83eedc8fd77090f6442b94

            People

            • Assignee:
              ncole@hortonworks.com Nate Cole
              Reporter:
              ncole@hortonworks.com Nate Cole
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development