Browse Source

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

aBabiichuk 11 năm trước cách đây
mục cha
commit
4cc243df04

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

@@ -1598,6 +1598,20 @@ module.exports =
       "filename": "pig-properties.xml",
       "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********************************************
 

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

@@ -773,7 +773,21 @@ module.exports =
       "serviceName": "WEBHCAT",
       "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********************************************
     {
       "id": "site property",