ソースを参照

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

aBabiichuk 11 年 前
コミット
9f2b109e46

+ 16 - 0
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>