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 <dlyle65...@gmail.com>
Date:   2016-10-25T14:56:18Z

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

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to