Repository: ambari Updated Branches: refs/heads/trunk c736b57a3 -> 72a0c9f04
AMBARI-9991. Create mock YARN theme for UI development (Richard Zang via srimanth) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/72a0c9f0 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/72a0c9f0 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/72a0c9f0 Branch: refs/heads/trunk Commit: 72a0c9f045177bc1f2628d0c5c974d066f3129d2 Parents: c736b57 Author: Srimanth Gunturi <[email protected]> Authored: Tue Mar 10 16:45:02 2015 -0700 Committer: Srimanth Gunturi <[email protected]> Committed: Tue Mar 10 16:45:02 2015 -0700 ---------------------------------------------------------------------- .../common-services/YARN/2.1.0.2.0/theme.json | 172 +++++++++++++++++++ 1 file changed, 172 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/72a0c9f0/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/theme.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/theme.json b/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/theme.json new file mode 100644 index 0000000..8c75add --- /dev/null +++ b/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/theme.json @@ -0,0 +1,172 @@ +{ + "Theme": { + "name": "default", + "description": "Default theme for YARN service", + "configuration": { + "layouts": [ + { + "name": "default", + "tabs": [ + { + "name": "Settings", + "display-name": "Settings", + "layout": { + "tab-columns": "1", + "tab-rows": "2", + "sections": [ + { + "name": "section-nm-sizing", + "display-name": "NM Sizing", + "row-index": "0", + "column-index": "0", + "row-span": "1", + "section-columns": "1", + "section-rows": "1", + "subsections": [] + }, + { + "name": "section-scheduler-defaults", + "display-name": "Scheduler Defaults", + "row-index": "1", + "column-index": "0", + "row-span": "1", + "section-columns": "1", + "section-rows": "1", + "subsections": [] + } + ] + } + } + ] + } + ] + }, + "placement": { + "configuration-layout": "default", + "configs": [ + { + "config": "yarn.nodemanager.resource.memory-mb", + "section-name": "section-nm-sizing" + }, + { + "config": "yarn.nodemanager.vmem-pmem-ratio", + "section-name": "section-nm-sizing" + }, + { + "config": "yarn.nodemanager.resource.percentage-physical-cpu-limit", + "section-name": "section-nm-sizing" + }, + { + "config": "yarn.nodemanager.resource.cpu-vcores", + "section-name": "section-nm-sizing" + }, + { + "config": "yarn.scheduler.minimum-allocation-mb", + "section-name": "section-scheduler-defaults" + }, + { + "config": "yarn.scheduler.maximum-allocation-mb", + "section-name": "section-scheduler-defaults" + }, + { + "config": "yarn.scheduler.minimum-allocation-vcores", + "section-name": "section-scheduler-defaults" + }, + { + "config": "yarn.scheduler.maximum-allocation-vcores", + "section-name": "section-scheduler-defaults" + } + ] + }, + "widgets":[ + { + "config":"yarn.nodemanager.resource.memory-mb", + "widget":{ + "type":"slider", + "units":[ + { + "unit-name":"MB" + } + ] + } + }, + { + "config": "yarn.nodemanager.vmem-pmem-ratio", + "widget": { + "type": "slider", + "units": [ + { + "unit-name": "float" + } + ] + } + }, + { + "config": "yarn.nodemanager.resource.percentage-physical-cpu-limit", + "widget": { + "type": "slider", + "units": [ + { + "unit-name": "percent" + } + ] + } + }, + { + "config": "yarn.nodemanager.resource.cpu-vcores", + "widget": { + "type": "slider", + "units": [ + { + "unit-name": "int" + } + ] + } + }, + { + "config":"yarn.scheduler.minimum-allocation-mb", + "widget":{ + "type":"slider", + "units":[ + { + "unit-name":"MB" + } + ] + } + }, + { + "config":"yarn.scheduler.maximum-allocation-mb", + "widget":{ + "type":"slider", + "units":[ + { + "unit-name":"MB" + } + ] + } + }, + { + "config":"yarn.scheduler.minimum-allocation-vcores", + "widget":{ + "type":"slider", + "units":[ + { + "unit-name":"int" + } + ] + } + }, + { + "config":"yarn.scheduler.maximum-allocation-vcores", + "widget":{ + "type":"slider", + "units":[ + { + "unit-name":"int" + } + ] + } + } + ] + } +} \ No newline at end of file
