← Back to team overview

savanna-all team mailing list archive

Re: get_node_processes

 

That was also my understanding, I just wanted to clarify. The only point that I was trying to make was that because it was static, it could return services/components that were not available in any node group of a plugin specific configuration.

-John

On 5/30/13 12:23 PM, Philip Langdale wrote:
My understanding from reading the documentation is that get_node_processes is returning static information, simply stating which processes are defined for each service (in CM terminology, the set of role types that belong to a service type). It's not attempting to reflect anything about the actual structure of an instantiated cluster.



--phil


On 30 May 2013 08:18, Sergey Lukjanov <slukjanov@xxxxxxxxxxxx <mailto:slukjanov@xxxxxxxxxxxx>> wrote:

    The "get_node_processes" function is needed to display supported
    services and node-processes at UI. The list of node processes
    should be specified in node group to tell plugin which process
    should be started at instances of the node group. In file-based
    configuration flow plugin should set node processes per node
    groups, so, there is no need to pass any additional info to this
    function.

    Sincerely yours,
    Sergey Lukjanov
    Software Engineer
    Mirantis Inc.
    GTalk: me@xxxxxxxxxxx <mailto:me@xxxxxxxxxxx>
    Skype: lukjanovsv

    On May 30, 2013, at 19:11, John Speidel <jspeidel@xxxxxxxxxxxxxxx
    <mailto:jspeidel@xxxxxxxxxxxxxxx>> wrote:

    > I am looking for clarification on
    get_node_processes(hadoop_version).
    > I assume that this is only used for template creation?
    >
    > The reason that I ask is that there is no cluster object passed
    in the call so the plugin will only be able to return default
    service/component information for the specified version.  In other
    words, if this is used in places other than template creation,
    since an advanced(plugin specific) configuration is not passed,
    the plugin will only return default data, which may not match the
    specified advanced configuration.
    >
    > Thanks,
    > John
    >
    > --
    > Mailing list: https://launchpad.net/~savanna-all
    <https://launchpad.net/%7Esavanna-all>
    > Post to     : savanna-all@xxxxxxxxxxxxxxxxxxx
    <mailto:savanna-all@xxxxxxxxxxxxxxxxxxx>
    > Unsubscribe : https://launchpad.net/~savanna-all
    <https://launchpad.net/%7Esavanna-all>
    > More help   : https://help.launchpad.net/ListHelp


    --
    Mailing list: https://launchpad.net/~savanna-all
    <https://launchpad.net/%7Esavanna-all>
    Post to     : savanna-all@xxxxxxxxxxxxxxxxxxx
    <mailto:savanna-all@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~savanna-all
    <https://launchpad.net/%7Esavanna-all>
    More help   : https://help.launchpad.net/ListHelp




References