ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject ambari git commit: AMBARI-10261. Add kerberos keytab for NFS Gateway. (Brandon Li via Jaimin)
Date Fri, 27 Mar 2015 23:20:11 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 62d6c1cb2 -> 592609bb0


AMBARI-10261. Add kerberos keytab for NFS Gateway. (Brandon Li via Jaimin)


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

Branch: refs/heads/trunk
Commit: 592609bb077e157f094da7c968ca629dc5095ae5
Parents: 62d6c1c
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Fri Mar 27 16:19:12 2015 -0700
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Fri Mar 27 16:20:08 2015 -0700

----------------------------------------------------------------------
 .../HDFS/2.1.0.2.0/kerberos.json                | 26 ++++++++++++++++++++
 1 file changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/592609bb/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/kerberos.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/kerberos.json
b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/kerberos.json
index 23d1b42..f19e391 100644
--- a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/kerberos.json
+++ b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/kerberos.json
@@ -150,6 +150,32 @@
           ]
         },
         {
+          "name": "NFS_GATEWAY",
+          "identities": [
+            {
+              "name": "nfsgateway",
+              "principal": {
+                "value": "nfs/_HOST@${realm}",
+                "type" : "service",
+                "configuration": "hdfs-site/nfs.kerberos.principal",
+                "local_username" : "${hadoop-env/hdfs_user}"
+              },
+              "keytab": {
+                "file": "${keytab_dir}/nfs.service.keytab",
+                "owner": {
+                  "name": "${hadoop-env/hdfs_user}",
+                  "access": "r"
+                },
+                "group": {
+                  "name": "${cluster-env/user_group}",
+                  "access": ""
+                },
+                "configuration": "hdfs-site/nfs.keytab.file"
+              }
+            },
+          ]
+        },
+        {
           "name": "JOURNALNODE",
           "identities": [
             {


Mime
View raw message