Re: Ambari Unable to start Hive server 2 after enabling security

2015-05-05 Thread Shaik M
o >> https://cwiki.apache.org/confluence/display/Hive/Setting+Up+HiveServer2, >> it doesn’t appear that a kinit is needed before starting up the server. >> >> Rob >> >> >> From: Shaik M >> Reply-To: "user@ambari.apache.org" >> Date

Re: Ambari Unable to start Hive server 2 after enabling security

2015-05-05 Thread Alexander Denissov
2015 at 5:15 AM > To: "user@ambari.apache.org" > Subject: Re: Ambari Unable to start Hive server 2 after enabling security > > Ambari Team, > > can you please check, why it is required to do manual "kinit" for > HiveServer2 startup? > > > > On 4 May

Re: Ambari Unable to start Hive server 2 after enabling security

2015-05-05 Thread Robert Levas
lt;mailto:user@ambari.apache.org>" mailto:user@ambari.apache.org>> Date: Tuesday, May 5, 2015 at 5:15 AM To: "user@ambari.apache.org<mailto:user@ambari.apache.org>" mailto:user@ambari.apache.org>> Subject: Re: Ambari Unable to start Hive server 2 after enabling se

Re: Ambari Unable to start Hive server 2 after enabling security

2015-05-05 Thread Shaik M
Ambari Team, can you please check, why it is required to do manual "kinit" for HiveServer2 startup? On 4 May 2015 at 22:24, Shaik M wrote: > Hi, > > After verifying the Amabri agent log, I logged in as "hive" user and I > ran below command. > > /usr/bin/kinit -kt /etc/security/keytabs/hdfs.h

Re: Ambari Unable to start Hive server 2 after enabling security

2015-05-04 Thread Shaik M
Hi, After verifying the Amabri agent log, I logged in as "hive" user and I ran below command. /usr/bin/kinit -kt /etc/security/keytabs/hdfs.headless.keytab hdfs after that I have started "hiveserver2" service from Amabri and it started the service. Now, I can able to connect to beeline client.

Re: Ambari Unable to start Hive server 2 after enabling security

2015-05-04 Thread Shaik M
Hi, *I am getting following exception in Hiveserver2 log file:* 2015-05-04 13:45:23,542 WARN [main]: ipc.Client (Client.java:run(676)) - Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials pr

Ambari Unable to start Hive server 2 after enabling security

2015-05-04 Thread Shaik M
Hi, I am using Ambari 1.7 and HDP 2.2.4. I have enabled security in this cluster. After enabling the security Ambari unable start the Hive server 2. I have verified keytabs and it's working fine. Please find the below ambari string process log below. not shown any output in standerr window. ple