Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.5.2
-
None
Description
Upon upgrading Ambari, alert scripts may be relocated in the new version. Alert definitions in the database should be updated to the new paths to avoid errors like:
Unable to execute alert. Unable to find 'AMBARI_METRICS/0.1.0.4.1/package/alerts/alert_ambari_metrics_monitor.py' as an absolute path or part of /var/lib/ambari-agent/cache/stacks or /var/lib/ambari-agent/cache/host_scripts Unable to execute alert. Unable to find 'FLUME/1.6.0.4.2/package/alerts/alert_flume_agent_status.py' as an absolute path or part of /var/lib/ambari-agent/cache/stacks or /var/lib/ambari-agent/cache/host_scripts Unable to execute alert. Unable to find 'HDFS/2.7.2.4.2/package/alerts/alert_checkpoint_time.py' as an absolute path or part of /var/lib/ambari-agent/cache/stacks or /var/lib/ambari-agent/cache/host_scripts Unable to execute alert. Unable to find 'HDFS/2.7.2.4.2/package/alerts/alert_datanode_unmounted_data_dir.py' as an absolute path or part of /var/lib/ambari-agent/cache/stacks or /var/lib/ambari-agent/cache/host_scripts Unable to execute alert. Unable to find 'HDFS/2.7.2.4.2/package/alerts/alert_ha_namenode_health.py' as an absolute path or part of /var/lib/ambari-agent/cache/stacks or /var/lib/ambari-agent/cache/host_scripts Unable to execute alert. Unable to find 'HDFS/2.7.2.4.2/package/alerts/alert_upgrade_finalized.py' as an absolute path or part of /var/lib/ambari-agent/cache/stacks or /var/lib/ambari-agent/cache/host_scripts Unable to execute alert. Unable to find 'YARN/2.7.2.4.2/package/alerts/alert_nodemanager_health.py' as an absolute path or part of /var/lib/ambari-agent/cache/stacks or /var/lib/ambari-agent/cache/host_scripts Unable to execute alert. Unable to find 'YARN/2.7.2.4.2/package/alerts/alert_nodemanagers_summary.py' as an absolute path or part of /var/lib/ambari-agent/cache/stacks or /var/lib/ambari-agent/cache/host_scripts
Attachments
Attachments
Issue Links
- links to