You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Xi Wang (JIRA)" <ji...@apache.org> on 2014/07/22 00:12:45 UTC

[jira] [Created] (AMBARI-6558) FE allows add host on host that is in UNKNOWN state (agent was stopped)

Xi Wang created AMBARI-6558:
-------------------------------

             Summary: 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


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)