ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myroslav Papirkovskyy (JIRA)" <>
Subject [jira] [Created] (AMBARI-10702) Theme widgets should be merged from inherited theme
Date Thu, 23 Apr 2015 15:16:38 GMT
Myroslav Papirkovskyy created AMBARI-10702:

             Summary: Theme widgets should be merged from inherited theme
                 Key: AMBARI-10702
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Myroslav Papirkovskyy
            Assignee: Myroslav Papirkovskyy
            Priority: Critical
             Fix For: 2.1.0

When implementing HDP-2.3 theme, the use case was to add just 2 more configs to the enhanced-configs.
When I created the default theme.json file, I had to re-define all the widgets - even though
the parent HDP-2.2 theme already had most of them defined.

Since it is a one-time operation, the {{widgets}} from the inherited parents should be overridden
by the child's widgets based on the "config" key.

So HDP-2.3's theme.json ( []
) should have only below 2 widget entries
        "config": "yarn-site/yarn.node-labels.enabled",
        "widget": {
          "type": "checkbox"
        "config": "yarn-env/yarn_cgroups_enabled",
        "widget": {
          "type": "checkbox"

This message was sent by Atlassian JIRA

View raw message