incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Nechiporenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-3644) App.ServiceConfig needs 'defaultsProvider' mechanism
Date Thu, 31 Oct 2013 19:55:21 GMT
Oleg Nechiporenko created AMBARI-3644:
-----------------------------------------

             Summary: App.ServiceConfig needs 'defaultsProvider' mechanism
                 Key: AMBARI-3644
                 URL: https://issues.apache.org/jira/browse/AMBARI-3644
             Project: Ambari
          Issue Type: Bug
          Components: client
    Affects Versions: 1.4.2
            Reporter: Oleg Nechiporenko
            Assignee: Oleg Nechiporenko
             Fix For: 1.4.2


{{App.ServiceConfig}} needs to have a 'defaultsProvider' property, which will give an object
extending {{App.DefaultsProvider}} class. {{App.DefaultsProvider}} class will have a method
'getDefaults(App.ServiceConfigProperty[])'. This 'defaultsProvider' will be set via {{data/service_configs.js}}
only for YARN service. 

{{App.YARNDefaultsProvider}} will look at cluster setup, the provided properties, and provide
an object where keys are property-names, and values are the recommended defaults.

These defaults will then be used during cluster install as default values.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message