ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-9939) RU - Service Check group to include all services with a service_check script
Date Thu, 05 Mar 2015 03:36:38 GMT

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

Hadoop QA commented on AMBARI-9939:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12702669/AMBARI-9939.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 3 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 test build failed in ambari-server 

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

This message is automatically generated.

> RU - Service Check group to include all services with a service_check script
> ----------------------------------------------------------------------------
>
>                 Key: AMBARI-9939
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9939
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Fernandez
>            Assignee: Alejandro Fernandez
>              Labels: rolling_upgrade
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9939.patch
>
>
> Installed a minimal 3-node cluster with HDFS, MR, YARN, Pig, Tez.
> Performed an RU.
> Expected result is for the last service check to be ran on all components. However, it
skipped Pig Service Check.
> http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/upgrades/32/upgrade_groups/8
> {code}
> {
>   "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/upgrades/32/upgrade_groups/8",
>   "UpgradeGroup" : {
>     "completed_task_count" : 4,
>     "group_id" : 8,
>     "in_progress_task_count" : 0,
>     "name" : "SERVICE_CHECK",
>     "progress_percent" : 100.0,
>     "request_id" : 32,
>     "status" : "COMPLETED",
>     "title" : "All Service Checks",
>     "total_task_count" : 4
>   },
>   "upgrade_items" : [
>     {
>       "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/upgrades/32/upgrade_groups/8/upgrade_items/47",
>       "UpgradeItem" : {
>         "cluster_name" : "c1",
>         "group_id" : 8,
>         "request_id" : 32,
>         "stage_id" : 47
>       }
>     },
>     {
>       "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/upgrades/32/upgrade_groups/8/upgrade_items/48",
>       "UpgradeItem" : {
>         "cluster_name" : "c1",
>         "group_id" : 8,
>         "request_id" : 32,
>         "stage_id" : 48
>       }
>     },
>     {
>       "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/upgrades/32/upgrade_groups/8/upgrade_items/49",
>       "UpgradeItem" : {
>         "cluster_name" : "c1",
>         "group_id" : 8,
>         "request_id" : 32,
>         "stage_id" : 49
>       }
>     },
>     {
>       "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/upgrades/32/upgrade_groups/8/upgrade_items/50",
>       "UpgradeItem" : {
>         "cluster_name" : "c1",
>         "group_id" : 8,
>         "request_id" : 32,
>         "stage_id" : 50
>       }
>     }
>   ]
> }
> {code}
> http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/upgrades/32/upgrade_groups/8/upgrade_items?fields=UpgradeItem/text
> {code}
> {
>   "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/upgrades/32/upgrade_groups/8/upgrade_items?fields=UpgradeItem/text",
>   "items" : [
>     {
>       "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/upgrades/32/upgrade_groups/8/upgrade_items/47",
>       "UpgradeItem" : {
>         "cluster_name" : "c1",
>         "group_id" : 8,
>         "request_id" : 32,
>         "stage_id" : 47,
>         "text" : "Service Check HDFS"
>       }
>     },
>     {
>       "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/upgrades/32/upgrade_groups/8/upgrade_items/48",
>       "UpgradeItem" : {
>         "cluster_name" : "c1",
>         "group_id" : 8,
>         "request_id" : 32,
>         "stage_id" : 48,
>         "text" : "Service Check YARN"
>       }
>     },
>     {
>       "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/upgrades/32/upgrade_groups/8/upgrade_items/49",
>       "UpgradeItem" : {
>         "cluster_name" : "c1",
>         "group_id" : 8,
>         "request_id" : 32,
>         "stage_id" : 49,
>         "text" : "Service Check ZooKeeper"
>       }
>     },
>     {
>       "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/upgrades/32/upgrade_groups/8/upgrade_items/50",
>       "UpgradeItem" : {
>         "cluster_name" : "c1",
>         "group_id" : 8,
>         "request_id" : 32,
>         "stage_id" : 50,
>         "text" : "Service Check MapReduce2"
>       }
>     }
>   ]
> }
> {code}
> The Upgrade Pack contains,
> {code}
>     <group name="SERVICE_CHECK" title="All Service Checks" xsi:type="service-check">
>       <skippable>true</skippable>
>       <direction>UPGRADE</direction>
>       <priority>
>         <service>HDFS</service>
>         <service>YARN</service>
>         <service>HBASE</service>
>       </priority>
>     </group>
> {code}
> Because the pig service check was not ran, the new tez tarball was not copied to HDFS.
> The underlying issue is that a service is not added to the Service Check group if it
is a clientOnly service. However, Pig is clientOnly but still have a service check python
script.



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

Mime
View raw message