|
@@ -1,174 +1,232 @@
|
|
|
{
|
|
|
- "Theme": {
|
|
|
- "name": "default",
|
|
|
- "service_name": "YARN",
|
|
|
- "description": "Default theme for YARN service",
|
|
|
- "configuration": {
|
|
|
- "layouts": [
|
|
|
+ "href" : "http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.2/services/YARN/artifacts/theme",
|
|
|
+ "Artifacts" : {
|
|
|
+ "artifact_name" : "theme",
|
|
|
+ "service_name" : "YARN",
|
|
|
+ "stack_name" : "HDP",
|
|
|
+ "stack_version" : "2.2"
|
|
|
+ },
|
|
|
+ "artifact_data" : {
|
|
|
+ "Theme" : {
|
|
|
+ "description" : "Default theme for YARN service",
|
|
|
+ "name" : "default",
|
|
|
+ "widgets" : [
|
|
|
{
|
|
|
- "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-span": "1",
|
|
|
- "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": []
|
|
|
- }
|
|
|
- ]
|
|
|
+ "config" : "yarn-site/yarn.nodemanager.resource.memory-mb",
|
|
|
+ "widget" : {
|
|
|
+ "type" : "slider",
|
|
|
+ "units" : [
|
|
|
+ {
|
|
|
+ "unit-name" : "MB"
|
|
|
}
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "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-site/yarn.nodemanager.vmem-pmem-ratio",
|
|
|
+ "widget" : {
|
|
|
+ "type" : "slider",
|
|
|
+ "units" : [
|
|
|
+ {
|
|
|
+ "unit-name" : "float"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
- "config": "yarn.nodemanager.resource.percentage-physical-cpu-limit",
|
|
|
- "section-name": "section-nm-sizing"
|
|
|
+ "config" : "yarn-site/yarn.nodemanager.resource.percentage-physical-cpu-limit",
|
|
|
+ "widget" : {
|
|
|
+ "type" : "slider",
|
|
|
+ "units" : [
|
|
|
+ {
|
|
|
+ "unit-name" : "percent"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
- "config": "yarn.nodemanager.resource.cpu-vcores",
|
|
|
- "section-name": "section-nm-sizing"
|
|
|
+ "config" : "yarn-site/yarn.nodemanager.resource.cpu-vcores",
|
|
|
+ "widget" : {
|
|
|
+ "type" : "slider",
|
|
|
+ "units" : [
|
|
|
+ {
|
|
|
+ "unit-name" : "int"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
- "config": "yarn.scheduler.minimum-allocation-mb",
|
|
|
- "section-name": "section-scheduler-defaults"
|
|
|
+ "config" : "yarn-site/yarn.scheduler.minimum-allocation-mb",
|
|
|
+ "widget" : {
|
|
|
+ "type" : "slider",
|
|
|
+ "units" : [
|
|
|
+ {
|
|
|
+ "unit-name" : "MB"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
- "config": "yarn.scheduler.maximum-allocation-mb",
|
|
|
- "section-name": "section-scheduler-defaults"
|
|
|
+ "config" : "yarn-site/yarn.scheduler.maximum-allocation-mb",
|
|
|
+ "widget" : {
|
|
|
+ "type" : "slider",
|
|
|
+ "units" : [
|
|
|
+ {
|
|
|
+ "unit-name" : "MB"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
- "config": "yarn.scheduler.minimum-allocation-vcores",
|
|
|
- "section-name": "section-scheduler-defaults"
|
|
|
+ "config" : "yarn-site/yarn.scheduler.minimum-allocation-vcores",
|
|
|
+ "widget" : {
|
|
|
+ "type" : "slider",
|
|
|
+ "units" : [
|
|
|
+ {
|
|
|
+ "unit-name" : "int"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
- "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-site/yarn.scheduler.maximum-allocation-vcores",
|
|
|
+ "widget" : {
|
|
|
+ "type" : "slider",
|
|
|
+ "units" : [
|
|
|
+ {
|
|
|
+ "unit-name" : "int"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
}
|
|
|
+ ],
|
|
|
+ "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"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
- {
|
|
|
- "config":"yarn.scheduler.maximum-allocation-vcores",
|
|
|
- "widget":{
|
|
|
- "type":"slider",
|
|
|
- "units":[
|
|
|
- {
|
|
|
- "unit-name":"int"
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
+ "placement" : {
|
|
|
+ "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"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "configuration-layout" : "default"
|
|
|
}
|
|
|
- ]
|
|
|
+ }
|
|
|
}
|
|
|
-}
|
|
|
+}
|