You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Alejandro Fernandez (JIRA)" <ji...@apache.org> on 2015/06/26 01:21:04 UTC

[jira] [Created] (AMBARI-12150) RU - Pre Reqs incorrectly reports that services are down

Alejandro Fernandez created AMBARI-12150:
--------------------------------------------

             Summary: RU - Pre Reqs incorrectly reports that services are down
                 Key: AMBARI-12150
                 URL: https://issues.apache.org/jira/browse/AMBARI-12150
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Alejandro Fernandez
            Assignee: Alejandro Fernandez
            Priority: Critical
             Fix For: 2.1.0


This is on Vagrant, where the VMs have been restored and brought down multiple times.

STR:
1. Installed Ambari 2.1.0 at build 2216
2. Deployed a 5 node cluster with HDP 2.2.7 and HDFS, MR, YARN, Tez, Pig, Oozie.
3. Enabled NameNode HA and ResourceManager HA
4. Registered version 2.3.0.0-2425
5. Attempted to start RU
6. Pre Checks failed stating that services were down when they were clearly not

Note: Doing a Stop All Services and Start All remedied it. Restarting Ambari Server did not fix it since the states in the DB are inconsistent.
There's nothing that jumps out at me in the ambari-server logs; there are error messages, but not related.

{code}
ambari=> select d.service_name, d.component_name, d.desired_state, c.current_state, h.host_name, (CASE WHEN d.desired_state <> c.current_state THEN 'MISMATCH'  ELSE '' END) from hostcomponentdesiredstate d JOIN hostcomponentstate c ON d.component_name = c.component_name AND d.host_id = c.host_id JOIN hosts h ON d.host_id = h.host_id ORDER BY d.service_name, d.component_name;
 service_name |   component_name    | desired_state | current_state |        host_name        |   case
--------------+---------------------+---------------+---------------+-------------------------+----------
 HDFS         | DATANODE            | INSTALLED     | STARTED       | c6404.ambari.apache.org | MISMATCH
 HDFS         | DATANODE            | INSTALLED     | STARTED       | c6405.ambari.apache.org | MISMATCH
 HDFS         | HDFS_CLIENT         | INSTALLED     | INSTALLED     | c6404.ambari.apache.org |
 HDFS         | HDFS_CLIENT         | INSTALLED     | INSTALLED     | c6401.ambari.apache.org |
 HDFS         | HDFS_CLIENT         | INSTALLED     | INSTALLED     | c6403.ambari.apache.org |
 HDFS         | HDFS_CLIENT         | INSTALLED     | INSTALLED     | c6402.ambari.apache.org |
 HDFS         | HDFS_CLIENT         | INSTALLED     | INSTALLED     | c6405.ambari.apache.org |
 HDFS         | JOURNALNODE         | INSTALLED     | STARTED       | c6401.ambari.apache.org | MISMATCH
 HDFS         | JOURNALNODE         | INSTALLED     | STARTED       | c6403.ambari.apache.org | MISMATCH
 HDFS         | JOURNALNODE         | INSTALLED     | STARTED       | c6402.ambari.apache.org | MISMATCH
 HDFS         | NAMENODE            | STARTED       | STARTED       | c6401.ambari.apache.org |
 HDFS         | NAMENODE            | INSTALLED     | STARTED       | c6402.ambari.apache.org | MISMATCH
 HDFS         | ZKFC                | INSTALLED     | STARTED       | c6402.ambari.apache.org | MISMATCH
 HDFS         | ZKFC                | INSTALLED     | STARTED       | c6401.ambari.apache.org | MISMATCH
 MAPREDUCE2   | HISTORYSERVER       | INSTALLED     | STARTED       | c6404.ambari.apache.org | MISMATCH
 MAPREDUCE2   | MAPREDUCE2_CLIENT   | INSTALLED     | INSTALLED     | c6405.ambari.apache.org |
 MAPREDUCE2   | MAPREDUCE2_CLIENT   | INSTALLED     | INSTALLED     | c6404.ambari.apache.org |
 OOZIE        | OOZIE_CLIENT        | INSTALLED     | INSTALLED     | c6404.ambari.apache.org |
 OOZIE        | OOZIE_CLIENT        | INSTALLED     | INSTALLED     | c6405.ambari.apache.org |
 OOZIE        | OOZIE_SERVER        | STARTED       | STARTED       | c6405.ambari.apache.org |
 PIG          | PIG                 | INSTALLED     | INSTALLED     | c6404.ambari.apache.org |
 PIG          | PIG                 | INSTALLED     | INSTALLED     | c6405.ambari.apache.org |
 TEZ          | TEZ_CLIENT          | INSTALLED     | INSTALLED     | c6404.ambari.apache.org |
 TEZ          | TEZ_CLIENT          | INSTALLED     | INSTALLED     | c6405.ambari.apache.org |
 YARN         | APP_TIMELINE_SERVER | INSTALLED     | STARTED       | c6402.ambari.apache.org | MISMATCH
 YARN         | NODEMANAGER         | INSTALLED     | STARTED       | c6405.ambari.apache.org | MISMATCH
 YARN         | NODEMANAGER         | INSTALLED     | STARTED       | c6404.ambari.apache.org | MISMATCH
 YARN         | RESOURCEMANAGER     | INSTALLED     | STARTED       | c6404.ambari.apache.org | MISMATCH
 YARN         | RESOURCEMANAGER     | INSTALLED     | STARTED       | c6405.ambari.apache.org | MISMATCH
 YARN         | YARN_CLIENT         | INSTALLED     | INSTALLED     | c6404.ambari.apache.org |
 YARN         | YARN_CLIENT         | INSTALLED     | INSTALLED     | c6405.ambari.apache.org |
 ZOOKEEPER    | ZOOKEEPER_CLIENT    | INSTALLED     | INSTALLED     | c6405.ambari.apache.org |
 ZOOKEEPER    | ZOOKEEPER_CLIENT    | INSTALLED     | INSTALLED     | c6404.ambari.apache.org |
 ZOOKEEPER    | ZOOKEEPER_SERVER    | STARTED       | STARTED       | c6402.ambari.apache.org |
 ZOOKEEPER    | ZOOKEEPER_SERVER    | STARTED       | STARTED       | c6403.ambari.apache.org |
 ZOOKEEPER    | ZOOKEEPER_SERVER    | STARTED       | STARTED       | c6401.ambari.apache.org |
(36 rows)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)