[ https://issues.apache.org/jira/browse/AMBARI-9939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Fernandez updated AMBARI-9939: ---------------------------------------- Attachment: (was: AMBARI-9939.patch) > 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)