[
https://issues.apache.org/jira/browse/AMBARI-6558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14069416#comment-14069416
]
Xi Wang commented on AMBARI-6558:
---------------------------------
https://issues.apache.org/jira/browse/AMBARI-4530 is the same problem in
Install Wizard.
So for 'Add host wizard' we need the same function as
https://issues.apache.org/jira/browse/AMBARI-4530.
Results image attached.
Steps to produce this situation:
1. In Add Host Wizard: Add a new host c6407.
2. Stop ambari agent on c6407 after 'Confirm Hosts ' step.
3. Go to 'Install, Test and Start' step and add the newly added host, then the
wizard runs into 'INSTALL FAILED' state as attached addHost-heartbeatlost.png.
At this time, there are two ways to solve the heartbeat_lost problem on c6407:
1) start ambari agent on c6407, then click on 'Retry'
2) click on 'Next', then on Hosts details page of c6407, re-install each
component.
> 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: 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)