[
https://issues.apache.org/jira/browse/AMBARI-6558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xi Wang updated AMBARI-6558:
----------------------------
Attachment: AMBARI-6558.patch
> FE allows add host on host that is in UNKNOWN state (agent was stopped)
> -----------------------------------------------------------------------
>
> Key: AMBARI-6558
> URL: https://issues.apache.org/jira/browse/AMBARI-6558
> Project: Ambari
> Issue Type: Bug
> Components: client
> Affects Versions: 1.5.0
> Reporter: Xi Wang
> Assignee: Xi Wang
> Fix For: 1.7.0
>
> Attachments: AMBARI-6558.patch, addHost-heartbeatlost.png,
> addhost-heartbeatlost-popup.png, addhost-popup1.png
>
>
> added a host to a cluster (manually installed and started an agent)
> {noformat}
> http://c6403.ambari.apache.org:8080/api/v1/hosts/c6401.ambari.apache.org
> {
> "href" :
> "http://c6403.ambari.apache.org:8080/api/v1/hosts/c6401.ambari.apache.org",
> "Hosts" : {
> "host_health_report" : "",
> "host_name" : "c6401.ambari.apache.org",
> "host_state" : "HEALTHY",
> "host_status" : "HEALTHY"
> }
> }
> {noformat}
> After the agent is stopped for the host
> {noformat}
> {
> "href" :
> "http://c6403.ambari.apache.org:8080/api/v1/hosts/c6401.ambari.apache.org",
> "Hosts" : {
> "host_health_report" : "",
> "host_name" : "c6401.ambari.apache.org",
> "host_state" : "HEARTBEAT_LOST",
> "host_status" : "UNKNOWN"
> }
> }
> {noformat}
> At this point I can perform AddHost and start the wizard. But AddHost will
> eventually fail - although now I see it just waiting.
> We need some form of error indication when host is not lost.
--
This message was sent by Atlassian JIRA
(v6.2#6252)