You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2015/03/28 00:20:11 UTC

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

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 <ja...@hortonworks.com>
Authored: Fri Mar 27 16:19:12 2015 -0700
Committer: Jaimin Jetly <ja...@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": [
             {