You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2014/06/05 17:25:27 UTC
git commit: AMBARI-6033 pig.properties customization UI needs
improvement. (ababiichuk)
Repository: ambari
Updated Branches:
refs/heads/trunk 930c4a439 -> 1aa76629b
AMBARI-6033 pig.properties customization UI needs improvement. (ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/1aa76629
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1aa76629
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1aa76629
Branch: refs/heads/trunk
Commit: 1aa76629b4854438aacc61591e4c8897192d8ec0
Parents: 930c4a4
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Thu Jun 5 18:15:27 2014 +0300
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Thu Jun 5 18:15:45 2014 +0300
----------------------------------------------------------------------
ambari-web/app/data/HDP2/site_properties.js | 15 +++++++++++++++
ambari-web/app/data/service_configs.js | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/1aa76629/ambari-web/app/data/HDP2/site_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/HDP2/site_properties.js b/ambari-web/app/data/HDP2/site_properties.js
index b2ecd8f..77a39b9 100644
--- a/ambari-web/app/data/HDP2/site_properties.js
+++ b/ambari-web/app/data/HDP2/site_properties.js
@@ -1548,6 +1548,21 @@ module.exports =
"serviceName": "WEBHCAT",
"category": "Advanced"
},
+ /**********************************************pig.properties*****************************************/
+ {
+ "id": "site property",
+ "name": "pig-content",
+ "displayName": "content",
+ "value": "",
+ "defaultValue": "",
+ "description": "pig properties",
+ "displayType": "content",
+ "isRequired": false,
+ "showLabel": false,
+ "serviceName": "PIG",
+ "filename": "pig-properties.xml",
+ "category": "Advanced"
+ },
/**********************************************log4j.properties***************************************/
{
"id": "site property",
http://git-wip-us.apache.org/repos/asf/ambari/blob/1aa76629/ambari-web/app/data/service_configs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/service_configs.js b/ambari-web/app/data/service_configs.js
index c45a085..2d3903c 100644
--- a/ambari-web/app/data/service_configs.js
+++ b/ambari-web/app/data/service_configs.js
@@ -225,7 +225,7 @@ module.exports = [
serviceName: 'PIG',
displayName: 'Pig',
configCategories: [
- App.ServiceConfigCategory.create({ name: 'Advanced', displayName : 'Advanced'}),
+ App.ServiceConfigCategory.create({ name: 'Advanced', displayName : 'Custom pig.properties', siteFileName: 'pig-properties.xml', canAddProperty: false}),
App.ServiceConfigCategory.create({ name: 'AdvancedPigLog4j', displayName : 'Custom log4j.properties', siteFileName: 'pig-log4j.xml', canAddProperty: false})
],
sites: ['pig-properties','pig-log4j'],