ambari-issues 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-18070) Calculation of versionAdvertised in is incorrect in metainfo.xml when parent is false and current ComponentInfo is true
Date Mon, 08 Aug 2016 23:41:20 GMT

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

Hadoop QA commented on AMBARI-18070:
------------------------------------

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

    {color:red}-1 patch{color}.  Top-level trunk compilation may be broken.

Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/8332//console

This message is automatically generated.

> Calculation of versionAdvertised in is incorrect in metainfo.xml when parent is false
and current ComponentInfo is true
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-18070
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18070
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Alejandro Fernandez
>            Assignee: Alejandro Fernandez
>            Priority: Blocker
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-18070.patch
>
>
> Fresh install of HDP 2.5 does not have a version for ATLAS_SERVER or ATLAS_CLIENT in
the database (hostcomponentstate table) because ATLAS has advertise_version as "false".
> Atlas in common-services for has the following,
> 0.1.0.2.3 has versionAdvertised=false
> 0.7.0.2.5 has versionAdvertised=true
> However, the current logic in ComponentModule always take the value of the parent, which
is incorrect.
> To fix this, if the current component has false, then take the value of the parent.
> The ideal way to do this is to use another variable (a string) to read from the xml file
so we can store "true", "false", null. If that variable is null, then inherit from the parent.



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

Mime
View raw message