If you are talking about embedded Hive client (CLI), then all you need
is to have a TGT in the ticket cache (ie run kinit before invoking Hive).
The underlying hadoop client handles communication with secure Hadoop
services. As long as the Hadoop related security configuration is place,
there's no other Hive specific setup required.

If you are setting up secure HiveServer2, please refer to server
<https://cwiki.apache.org/confluence/display/Hive/Setting+up+HiveServer2>and
client
<https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients#HiveServer2Clients-JDBCClientSetupforaSecureCluster>configuration
details are on Hive wiki.

thanks
Prasad



On Tue, Feb 11, 2014 at 2:31 AM, Anilkumar Kalshetti <
anilkalshe...@gmail.com> wrote:

> Hello,
>
> Has anyone implemented Kerberos authentication for Apache Hive?
>
> Kerberos authentication for Hadoop is documented very well, and I am able
> to do it.
> Connecting databases like MongoDb, PostgreSQL using kerberos auth. is
> quite straight-forward,
> But there are missing links in documentation, which makes things difficult
> for configuring apache hive using Kerberos authentication.
>
> Please reply, If someone has done this.
>
> Thanks
>

Reply via email to