You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/25 15:01:58 UTC

[jira] [Commented] (METRON-513) Ambari Management Pack Metainfo should not advertise version

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

ASF GitHub Bot commented on METRON-513:
---------------------------------------

GitHub user dlyle65535 opened a pull request:

    https://github.com/apache/incubator-metron/pull/322

    METRON-513: Ambari MP Metainfo should not advertise version

    Set versionAdvertised to false in metainfo.xml for the MPack.
    
    Prior to this change, the cluster would report the Metron host as "OUT_OF_SYNC".
    
    Tested on Docker cluster following procedure here: [Metron MPack](https://www.evernote.com/l/AhLFVR-9CsFIYYnOnF43BlxSsT4F856qwaY)
    
    No longer reports "OUT_OF_SYNC"
    > curl -H "X-Requested-By: ambari" -X GET -u admin:admin 
    http://localhost:8080/api/v1/clusters/docker-metron/stack_versions/1
    > {
    >  "ClusterStackVersions" : {
    >     "cluster_name" : "docker-metron",
    >     "id" : 1,
    >     "repository_version" : 1,
    >     "stack" : "HDP",
    >     "state" : "CURRENT",
    >     "version" : "2.4",
    >     "host_states" : {
    >       "CURRENT" : [
    >         "amb1.service.consul",
    >         "amb2.service.consul",
    >         "amb3.service.consul",
    >         "amb4.service.consul"
    >       ],
    >       "INIT" : [ ],
    >       "INSTALLED" : [ ],
    >       "INSTALLING" : [ ],
    >       "INSTALL_FAILED" : [ ],
    >       "NOT_REQUIRED" : [ ],
    >       "OUT_OF_SYNC" : [ ]
    >     }

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dlyle65535/incubator-metron METRON-513

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/322.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #322
    
----
commit 40e719889baa83c2ecc1961a62f9e1c06102b294
Author: David Lyle <dl...@gmail.com>
Date:   2016-10-25T14:56:18Z

    METRON-513: Ambari Management Pack Metainfo should not advertise version.

----


> Ambari Management Pack Metainfo should not advertise version
> ------------------------------------------------------------
>
>                 Key: METRON-513
>                 URL: https://issues.apache.org/jira/browse/METRON-513
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.2.1BETA
>            Reporter: David M. Lyle
>            Assignee: David M. Lyle
>             Fix For: 0.2.2BETA
>
>
> Setting versionAdvertised to true will cause Ambari to think the cluster isn't in a current state for components that do not advertise their versions via the hdp-select mechanism. 
> Remove or set versionAdvertised to false in metainfo.xml.



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