浏览代码

AMBARI-6501 Extend server-side stack definition to include metadata for additional configurations (including -env.sh files) for each service 2. (ababiichuk)

aBabiichuk 11 年之前
父节点
当前提交
4cc243df04
共有 2 个文件被更改,包括 29 次插入1 次删除
  1. 14 0
      ambari-web/app/data/HDP2/site_properties.js
  2. 15 1
      ambari-web/app/data/site_properties.js

+ 14 - 0
ambari-web/app/data/HDP2/site_properties.js

@@ -1598,6 +1598,20 @@ module.exports =
       "filename": "pig-properties.xml",
       "filename": "pig-properties.xml",
       "category": "Advanced"
       "category": "Advanced"
     },
     },
+    {
+      "id": "site property",
+      "name": "content",
+      "displayName": "content",
+      "value": "",
+      "defaultValue": "",
+      "description": "-env.sh content",
+      "displayType": "content",
+      "isRequired": false,
+      "showLabel": false,
+      "serviceName": "PIG",
+      "filename": "pig-env.xml",
+      "category": "PigEnv"
+    },
 
 
     //***************************************** GLUSTERFS stack********************************************
     //***************************************** GLUSTERFS stack********************************************
 
 

+ 15 - 1
ambari-web/app/data/site_properties.js

@@ -773,7 +773,21 @@ module.exports =
       "serviceName": "WEBHCAT",
       "serviceName": "WEBHCAT",
       "category": "Advanced"
       "category": "Advanced"
     },
     },
-
+  /**********************************************pig.properties*****************************************/
+    {
+      "id": "site property",
+      "name": "content",
+      "displayName": "content",
+      "value": "",
+      "defaultValue": "",
+      "description": "-env.sh content",
+      "displayType": "content",
+      "isRequired": false,
+      "showLabel": false,
+      "serviceName": "PIG",
+      "filename": "pig-env.xml",
+      "category": "PigEnv"
+    },
     //***************************************** GLUSTERFS stack********************************************
     //***************************************** GLUSTERFS stack********************************************
     {
     {
       "id": "site property",
       "id": "site property",