You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2017/08/24 17:01:00 UTC

[jira] [Updated] (AMBARI-21801) No Hosts are Targeted For MAINT VDF If Available Services is Empty

     [ https://issues.apache.org/jira/browse/AMBARI-21801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Hurley updated AMBARI-21801:
-------------------------------------
    Attachment: AMBARI-21801.patch

> No Hosts are Targeted For MAINT VDF If Available Services is Empty
> ------------------------------------------------------------------
>
>                 Key: AMBARI-21801
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21801
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.6.0
>
>         Attachments: AMBARI-21801.patch
>
>
> When trying to distribute a MAINT repository which doesn't have available services, such as the one below, no hosts are targeted and the installation doesn't do anything.
> The fix is to use the {{ClusterSummary}} from the VDF which includes a mashup of the cluster's services and those listed in the VDF's manifest and available services structure.
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <repository-version xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="version_definition.xsd">
>   <release>
>     <type>MAINT</type>
>     <stack-id>HDP-2.6</stack-id>
>     <version>2.6.2.0</version>
>     <build>193</build>
>     <compatible-with>2.6.[0-2]+.[0-9]+</compatible-with>
>     <release-notes>http://example.com</release-notes>
>     <display>HDP-2.6.2.0-193-MAINT</display>
>   </release>
>   <manifest>
>     <service id="HDFS-273" name="HDFS" version="2.7.3"/>
>     <service id="YARN-273" name="YARN" version="2.7.3"/>
>     <service id="MAPREDUCE2-273" name="MAPREDUCE2" version="2.7.3"/>
>     <service id="SLIDER-0920" name="SLIDER" version="0.92.0"/>
>     <service id="TEZ-070" name="TEZ" version="0.7.0"/>
>     <service id="ZEPPELIN-072" name="ZEPPELIN" version="0.7.2"/>
>     <service id="KAFKA-0101" name="KAFKA" version="0.10.1"/>
>     <service id="DRUID-092" name="DRUID" version="0.9.2"/>
>     <service id="FALCON-0100" name="FALCON" version="0.10.0"/>
>     <service id="OOZIE-420" name="OOZIE" version="4.2.0"/>
>     <service id="FLUME-152" name="FLUME" version="1.5.2"/>
>     <service id="ACCUMULO-170" name="ACCUMULO" version="1.7.0"/>
>     <service id="PIG-0160" name="PIG" version="0.16.0"/>
>     <service id="KNOX-0120" name="KNOX" version="0.12.0"/>
>     <service id="SPARK-163" name="SPARK" version="1.6.3"/>
>     <service id="MAHOUT-090" name="MAHOUT" version="0.9.0"/>
>     <service id="HIVE-121000" name="HIVE" version="1.2.1000"/>
>     <service id="ZOOKEEPER-346" name="ZOOKEEPER" version="3.4.6"/>
>     <service id="RANGER-070" name="RANGER" version="0.7.0"/>
>     <service id="RANGER_KMS-070" name="RANGER_KMS" version="0.7.0"/>
>     <service id="ATLAS-080" name="ATLAS" version="0.8.0"/>
>     <service id="HBASE-112" name="HBASE" version="1.1.2"/>
>     <service id="STORM-110" name="STORM" version="1.1.0" release-version="2.6.0.3"/>
>     <service id="SPARK2-211" name="SPARK2" version="2.1.1"/>
>     <service id="SQOOP-146" name="SQOOP" version="1.4.6"/>
>   </manifest>
>   <available-services/>
>   <repository-info>
>     <os family="redhat6">
>       <package-version>2_6_2_0_*</package-version>
>       <repo>
>         <baseurl>http://repo.ambari.apache.org/hdp/centos6/HDP-2.6.2.0-193</baseurl>
>         <repoid>HDP-2.6</repoid>
>         <reponame>HDP</reponame>
>         <unique>true</unique>
>       </repo>
>       <repo>
>         <baseurl>http://repo.ambari.apache.org/hdp/centos6/HDP-UTILS-1.1.0.21</baseurl>
>         <repoid>HDP-UTILS-1.1.0.21</repoid>
>         <reponame>HDP-UTILS</reponame>
>         <unique>false</unique>
>       </repo>
>     </os>
>   </repository-info>
> </repository-version>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)