Repository: ambari
Updated Branches:
  refs/heads/trunk 43e792cfc -> 4bef8d076


AMBARI-10631. Add logic for handling configuration for tez acls in Ambari  
(aonishuk)


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

Branch: refs/heads/trunk
Commit: 4bef8d076399cc42eadb4374d01868c16b2bb6fd
Parents: 43e792c
Author: Andrew Onishuk <aonis...@hortonworks.com>
Authored: Mon Apr 27 16:24:18 2015 +0300
Committer: Andrew Onishuk <aonis...@hortonworks.com>
Committed: Mon Apr 27 16:24:18 2015 +0300

----------------------------------------------------------------------
 .../stacks/HDP/2.3/services/TEZ/kerberos.json   | 19 ++++++
 ambari-web/app/data/HDP2.3/site_properties.js   | 69 ++++++++++++--------
 2 files changed, 59 insertions(+), 29 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/4bef8d07/ambari-server/src/main/resources/stacks/HDP/2.3/services/TEZ/kerberos.json
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.3/services/TEZ/kerberos.json 
b/ambari-server/src/main/resources/stacks/HDP/2.3/services/TEZ/kerberos.json
new file mode 100644
index 0000000..3662ed8
--- /dev/null
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/TEZ/kerberos.json
@@ -0,0 +1,19 @@
+{
+  "services": [
+    {
+      "name": "TEZ",
+      "components": [
+        {
+          "name": "TEZ_CLIENT",
+          "configurations": [
+            {
+              "tez-site": {
+                "tez.am.view-acls": ""
+              }
+            }
+          ]
+        }
+      ]
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ambari/blob/4bef8d07/ambari-web/app/data/HDP2.3/site_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/HDP2.3/site_properties.js 
b/ambari-web/app/data/HDP2.3/site_properties.js
index 4665b2e..90f2aba 100644
--- a/ambari-web/app/data/HDP2.3/site_properties.js
+++ b/ambari-web/app/data/HDP2.3/site_properties.js
@@ -28,35 +28,46 @@ var hdp23properties = hdp22properties.filter(function 
(item) {
   return !excludedConfigs.contains(item.name);
 });
 
-hdp23properties.push({
-  "id": "site property",
-  "name": "DB_FLAVOR",
-  "displayName": "DB FLAVOR",
-  "value": "MYSQL",
-  "defaultValue": "MYSQL",
-  "isReconfigurable": true,
-  "options": [
-    {
-      displayName: 'MYSQL'
-    },
-    {
-      displayName: 'ORACLE'
-    },
-    {
-      displayName: 'POSTGRES'
-    },
-    {
-      displayName: 'SQLSERVER'
-    }
-  ],
-  "displayType": "radio button",
-  "radioName": "RANGER DB_FLAVOR",
-  "isOverridable": false,
-  "isVisible": true,
-  "serviceName": "RANGER",
-  "filename": "admin-properties.xml",
-  "category": "DBSettings"
-});
+hdp23properties.push(
+  {
+    "id": "site property",
+    "name": "DB_FLAVOR",
+    "displayName": "DB FLAVOR",
+    "value": "MYSQL",
+    "defaultValue": "MYSQL",
+    "isReconfigurable": true,
+    "options": [
+      {
+        displayName: 'MYSQL'
+      },
+      {
+        displayName: 'ORACLE'
+      },
+      {
+        displayName: 'POSTGRES'
+      },
+      {
+        displayName: 'SQLSERVER'
+      }
+    ],
+    "displayType": "radio button",
+    "radioName": "RANGER DB_FLAVOR",
+    "isOverridable": false,
+    "isVisible": true,
+    "serviceName": "RANGER",
+    "filename": "admin-properties.xml",
+    "category": "DBSettings"
+  },
+  {
+    "id": "site property",
+    "name": "tez.am.view-acls",
+    "displayName": "tez.am.view-acls",
+    "isRequired": false,
+    "serviceName": "TEZ",
+    "filename": "tez-site.xml",
+    "category": "Advanced tez-site"
+  }
+);
 
 module.exports =
 {

Reply via email to