Re: Start HiveServer2 with Kerberos meet FATAL error

2016-10-19 Thread Micro dong
t 18, 2016 at 10:33 PM, Micro dong > wrote: > > > It seems to me it's trying to login into HiveServer with unix username > > instead of Kerberos keytab > > > > 2016-10-19 10:30 GMT+08:00 Micro dong : > > > > > it also meet the same error too. > &

Re: Start HiveServer2 with Kerberos meet FATAL error

2016-10-18 Thread Micro dong
It seems to me it's trying to login into HiveServer with unix username instead of Kerberos keytab 2016-10-19 10:30 GMT+08:00 Micro dong : > it also meet the same error too. > > *2016-10-19 10:28:07,300 FATAL [Thread-9]: thrift.ThriftCLIService > (ThriftBinaryCLIService.java:

Re: Start HiveServer2 with Kerberos meet FATAL error

2016-10-18 Thread Micro dong
his looks good. Please run this one and then try starting the service. > > kinit -kt /home/work/software/hive/conf/hive.keytab hive2/ > temp...@hadoop.com > > > On Tue, Oct 18, 2016 at 10:16 PM, Micro dong > wrote: > > > [work@tempt48 ~]$ klist -ket /home/work/software

Re: Start HiveServer2 with Kerberos meet FATAL error

2016-10-18 Thread Micro dong
tempt48 [work@tempt48 ~]$ hostname -f tempt48 2016-10-18 17:48 GMT+08:00 Vivek Shrivastava : > What is the output of > klist -ket /home/work/software/hive/conf/hive.keytab > and > hostname > and > hostname -f > > On Tue, Oct 18, 2016 at 4:18 AM, Micro dong > wrote:

Re: Start HiveServer2 with Kerberos meet FATAL error

2016-10-18 Thread Micro dong
tempt48 is the local machine's hostname which is configured in /etc/hosts. 2016-10-18 15:33 GMT+08:00 Chen, Junjie J : > Please try to use full qualified name of host, such as hive2/ > tempt48.hadoop@hadoop.com > > -Original Message----- > From: Micro do

Re: Start HiveServer2 with Kerberos meet FATAL error

2016-10-17 Thread Micro dong
t is the klist output? > > > On Mon, Oct 17, 2016 at 11:09 PM, Micro dong > wrote: > > > I'm trying to configure HiveServer2(hive-1.2.1) With Kerberos。Here is my > > Hive's configuration file。 > > ** > > *hive.server2.auth

Start HiveServer2 with Kerberos meet FATAL error

2016-10-17 Thread Micro dong
I'm trying to configure HiveServer2(hive-1.2.1) With Kerberos。Here is my Hive's configuration file。 ** *hive.server2.authentication* *KERBEROS* * * * * *hive.server2.authentication.kerberos.principal* *hive2/_h...@hadoop.com * * * * * *hive.server2.authentication.kerberos.