You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2015/03/19 01:10:11 UTC

ambari git commit: AMBARI-9991. Moving theme.json to inside stack-version (srimanth)

Repository: ambari
Updated Branches:
  refs/heads/trunk d4607e5f1 -> 442ad8322


AMBARI-9991. Moving theme.json to inside stack-version (srimanth)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/442ad832
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/442ad832
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/442ad832

Branch: refs/heads/trunk
Commit: 442ad8322370ae133c0a5ba6994011024e0589b1
Parents: d4607e5
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Wed Mar 18 16:03:46 2015 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Wed Mar 18 17:09:28 2015 -0700

----------------------------------------------------------------------
 .../common-services/YARN/2.1.0.2.0/theme.json   | 172 ---------------
 .../stacks/HDP/2.2/services/YARN/theme.json     | 221 +++++++++++++++++++
 2 files changed, 221 insertions(+), 172 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/442ad832/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
deleted file mode 100644
index 8c75add..0000000
--- a/ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/theme.json
+++ /dev/null
@@ -1,172 +0,0 @@
-{
-  "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

http://git-wip-us.apache.org/repos/asf/ambari/blob/442ad832/ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/theme.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/theme.json b/ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/theme.json
new file mode 100644
index 0000000..b20fc83
--- /dev/null
+++ b/ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/theme.json
@@ -0,0 +1,221 @@
+{
+  "Theme": {
+    "name": "default",
+    "description": "Default theme for YARN service",
+    "configuration": {
+      "layouts": [
+        {
+          "name": "default",
+          "tabs": [
+            {
+              "name": "settings",
+              "display-name": "Settings",
+              "layout": {
+                "tab-columns": "3",
+                "tab-rows": "2",
+                "sections": [
+                  {
+                    "name": "section-nm-sizing",
+                    "display-name": "NodeManager Sizing",
+                    "row-index": "0",
+                    "column-index": "0",
+                    "row-span": "1",
+                    "column-span": "2",
+                    "section-columns": "2",
+                    "section-rows": "1",
+                    "subsections": [
+	                  {
+	                    "name": "subsection-nm-sizing-col1",
+	                    "row-index": "0",
+	                    "column-index": "0",
+	                    "row-span": "1",
+	                    "column-span": "1"
+	                  }, {
+	                    "name": "subsection-nm-sizing-col2",
+	                    "row-index": "0",
+	                    "column-index": "1",
+	                    "row-span": "1",
+	                    "column-span": "1"
+	                  }
+	                ]
+                  },
+                  {
+                    "name": "section-yarn-platform-features",
+                    "display-name": "YARN Platform Features",
+                    "row-index": "0",
+                    "column-index": "1",
+                    "row-span": "1",
+                    "column-span": "1",
+                    "section-columns": "1",
+                    "section-rows": "1",
+                    "subsections": [
+                      {
+                        "name": "subsection-yarn-platform-features-col1",
+                        "row-index": "0",
+                        "column-index": "0",
+                        "row-span": "1",
+                        "column-span": "1"
+                      }
+                    ]
+                  },
+                  {
+                    "name": "section-container-sizing",
+                    "display-name": "Container Sizing",
+                    "row-index": "1",
+                    "column-index": "0",
+                    "row-span": "1",
+                    "column-span": "2",
+                    "section-columns": "2",
+                    "section-rows": "1",
+                    "subsections": [
+                      {
+                        "name": "subsection-container-sizing-col1",
+                        "row-index": "0",
+                        "column-index": "0",
+                        "row-span": "1",
+                        "column-span": "1"
+                      }, {
+                        "name": "subsection-container-sizing-col2",
+                        "row-index": "0",
+                        "column-index": "1",
+                        "row-span": "1",
+                        "column-span": "1"
+                      }
+                    ]
+                  }
+                ]
+              }
+            }
+          ]
+        }
+      ]
+    },
+    "placement": {
+      "configuration-layout": "default",
+      "configs": [
+        {
+          "config": "yarn-site/yarn.nodemanager.resource.memory-mb",
+          "subsection-name": "subsection-nm-sizing-col1"
+        },
+        {
+          "config": "yarn-site/yarn.nodemanager.vmem-pmem-ratio",
+          "subsection-name": "subsection-nm-sizing-col1"
+        },
+        {
+          "config": "yarn-site/yarn.nodemanager.resource.percentage-physical-cpu-limit",
+          "subsection-name": "subsection-nm-sizing-col2"
+        },
+        {
+          "config": "yarn-site/yarn.nodemanager.resource.cpu-vcores",
+          "subsection-name": "subsection-nm-sizing-col2"
+        },
+        {
+          "config": "yarn-site/yarn.scheduler.minimum-allocation-mb",
+          "subsection-name": "subsection-container-sizing-col1"
+        },
+        {
+          "config": "yarn-site/yarn.scheduler.maximum-allocation-mb",
+          "subsection-name": "subsection-container-sizing-col1"
+        },
+        {
+          "config": "yarn-site/yarn.scheduler.minimum-allocation-vcores",
+          "subsection-name": "subsection-container-sizing-col2"
+        },
+        {
+          "config": "yarn-site/yarn.scheduler.maximum-allocation-vcores",
+          "subsection-name": "subsection-container-sizing-col2"
+        }
+      ]
+    },
+    "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