ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xi Wang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-6558) FE allows add host on host that is in UNKNOWN state (agent was stopped)
Date Mon, 21 Jul 2014 22:12:45 GMT
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)

Mime
View raw message