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

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

    [ https://issues.apache.org/jira/browse/AMBARI-12150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602597#comment-14602597 ] 

Hadoop QA commented on AMBARI-12150:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12742009/AMBARI-12150.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in ambari-server:

                  org.apache.ambari.server.upgrade.UpgradeCatalog210Test
                  org.apache.ambari.server.upgrade.UpgradeCatalog150Test

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3273//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3273//console

This message is automatically generated.

> 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
>
>         Attachments: AMBARI-12150.branch-2.1.patch, AMBARI-12150.patch, Screen Shot 2015-06-20 at 6.50.20 PM.png, Screen Shot 2015-06-20 at 6.50.35 PM.png
>
>
> 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)