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/08/05 17:44:33 UTC

git commit: AMBARI-6745 Hive-Site should have spnego principal and keytab properties. (ababiichuk)

Repository: ambari
Updated Branches:
  refs/heads/trunk 2280e7451 -> 9f2b109e4


AMBARI-6745 Hive-Site should have spnego principal and keytab properties. (ababiichuk)


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

Branch: refs/heads/trunk
Commit: 9f2b109e466f9cc143278c5f40742a5fb9fef5cb
Parents: 2280e74
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Tue Aug 5 18:24:33 2014 +0300
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Tue Aug 5 18:25:25 2014 +0300

----------------------------------------------------------------------
 .../2.1/services/HIVE/configuration/hive-site.xml   | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9f2b109e/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml
index 6e60be2..ac4c1a2 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml
@@ -498,4 +498,20 @@ limitations under the License.
     </description>
   </property>
 
+  <property>
+      <name>hive.server2.authentication.spnego.principal</name>
+      <value>/etc/security/keytabs/spnego.service.keytab</value>
+      <description>
+          This keytab would be used by HiveServer2 when Kerberos security is enabled and HTTP transport mode is used.
+      </description>
+  </property>
+
+  <property>
+      <name>hive.server2.authentication.spnego.keytab</name>
+      <value>HTTP/_HOST@EXAMPLE.COM</value>
+      <description>
+          The SPNEGO service principal would be used by HiveServer2 when Kerberos security is enabled and HTTP transport mode is used.
+      </description>
+  </property>
+
 </configuration>