Matyas Orhidi created HIVE-15319: ------------------------------------ Summary: Beeline is not validating Kerberos Realm Key: HIVE-15319 URL: https://issues.apache.org/jira/browse/HIVE-15319 Project: Hive Issue Type: Bug Reporter: Matyas Orhidi
Having "hive.server2.authentication.kerberos.principal" property set as "hive/somehost@SOME.REALM" [1] in HS2 - When connecting to the service using beeline, seemingly the realm part of the service principal in the JDBC URL is not validated - You can connect to HS2 using any realm e.g. principal=hive/somehost@ANYOTHER.REALM [2] *************************************** [1] <property> <name>hive.server2.authentication.kerberos.principal</name> <value>hive/somehost@SOME.REALM</value> </property> [2] 'jdbc:hive2://somehost:10000/default;principal=hive/somehost@ANYOTHER.REALM' -- This message was sent by Atlassian JIRA (v6.3.4#6332)