升级Ambari版本后,我无法收到任何电子邮件通知

时间:2016-11-23 08:17:01

标签: email hadoop notifications ambari

我升级了Ambari版本2.4.0

之后,当组件严重,正常,警告等时,我无法收到任何电子邮件通知。

以下是我发现问题的方法。

我停了一个regionserver。

之后,我跑了命令

  

curl --user admin:passwd http://myurl:8080/api/v1/cluster/ {clustername} / alert_notices?fields = *

[结果]

  

{“href”:myurl,       “项目”:[]     }

[ambari-的server.log]

23 Nov 2016 16:58:00,259 INFO [ambari-client-thread-102] AbstractResourceProvider:925 - Received a updateHostComponent request, clusterName=, serviceName=HDFS, componentName=DATANODE, hostname=, request={ clusterName=, serviceName=HDFS, componentName=DATANODE, hostname=, desiredState=STARTED, state=null, desiredStackId=null, staleConfig=null, adminState=null} 23 Nov 2016 16:58:00,265 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2140 - Iterating service type Instance in createHostAction:: SQOOP 23 Nov 2016 16:58:00,265 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2140 - Iterating service type Instance in createHostAction:: HDFS 23 Nov 2016 16:58:00,265 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2140 - Iterating service type Instance in createHostAction:: MAPREDUCE2 23 Nov 2016 16:58:00,265 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2140 - Iterating service type Instance in createHostAction:: OOZIE 23 Nov 2016 16:58:00,265 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2140 - Iterating service type Instance in createHostAction:: TEZ 23 Nov 2016 16:58:00,266 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2140 - Iterating service type Instance in createHostAction:: SPARK 23 Nov 2016 16:58:00,266 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2140 - Iterating service type Instance in createHostAction:: HBASE 23 Nov 2016 16:58:00,266 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2140 - Iterating service type Instance in createHostAction:: ZOOKEEPER 23 Nov 2016 16:58:00,266 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2140 - Iterating service type Instance in createHostAction:: YARN 23 Nov 2016 16:58:00,266 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2140 - Iterating service type Instance in createHostAction:: PIG 23 Nov 2016 16:58:00,267 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2140 - Iterating service type Instance in createHostAction:: HIVE 23 Nov 2016 16:58:00,267 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2140 - Iterating service type Instance in createHostAction:: SLIDER 23 Nov 2016 16:58:00,267 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2140 - Iterating service type Instance in createHostAction:: AMBARI_METRICS 23 Nov 2016 16:58:00,267 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2140 - Iterating service type Instance in createHostAction:: NIFI 23 Nov 2016 16:58:00,282 INFO [ambari-client-thread-102] AmbariManagementControllerImpl:2329 - AmbariManagementControllerImpl.createHostAction: created ExecutionCommand for host , role DATANODE, roleCommand START, and command ID 897--1, with cluster-env tags version1479886775473 23 Nov 2016 16:58:00,301 INFO [ambari-action-scheduler] ServiceComponentHostImpl:1067 - Host role transitioned to a new state, serviceComponentName=DATANODE, hostName=, oldState=INSTALLED, currentState=STARTING 23 Nov 2016 16:58:00,441 INFO [ambari-client-thread-102] AbstractProviderModule:953 - Current Metrics collector Host : null 23 Nov 2016 16:58:00,441 INFO [ambari-client-thread-102] AbstractProviderModule:958 - New Metrics collector Host : 23 Nov 2016 16:58:00,951 INFO [qtp-ambari-agent-91] HeartBeatHandler:332 - HeartBeatHandler.sendCommands: sending ExecutionCommand for host , role DATANODE, roleCommand START, and command ID 897-0, task ID 7953 23 Nov 2016 16:58:06,679 INFO [ambari-heartbeat-processor-0] HeartbeatProcessor:505 - Updating applied config on service HDFS, component DATANODE, host 23 Nov 2016 16:58:06,681 INFO [ambari-heartbeat-processor-0] ServiceComponentHostImpl:1067 - Host role transitioned to a new state, serviceComponentName=DATANODE, hostName=, oldState=STARTING, currentState=STARTED

另外,我多次重启ambari服务器,但我无法解决它。

我该如何解决这个问题?

0 个答案:

没有答案