Is there temporary fix? In HDP-2.3.4.0 threre is Ranger 0.5 available. And I do
not know when 0.7 will be in HDP.
Margus (margusja) Roo
http://margus.roo.ee
skype: margusja
+372 51 48 780
On 10/08/16 18:54, Ramesh Mani wrote:
Margus,
This is was fixed in this apache jira
https://issues.apache.org/jira/browse/RANGER-1136
Thanks,
Ramesh
From: Margus Roo <mar...@roo.ee <mailto:mar...@roo.ee>>
Reply-To: "user@ranger.incubator.apache.org
<mailto:user@ranger.incubator.apache.org>"
<user@ranger.incubator.apache.org
<mailto:user@ranger.incubator.apache.org>>
Date: Wednesday, August 10, 2016 at 2:32 AM
To: "user@ranger.incubator.apache.org
<mailto:user@ranger.incubator.apache.org>"
<user@ranger.incubator.apache.org
<mailto:user@ranger.incubator.apache.org>>
Subject:
hiveServer2.async.summary.batch_hiveServer2.async.summary.batch.hdfs_destWriter
Exception encountered while connecting to the server GSS initiate
failed No valid credentials provided
Hi
I am using Hortonworks HDP-2.3.4.0 and Ranger 0.5.0.2.3.
I configured Ranger to write Hive audit log to HDFS.
After restarting Hive it writes audit log to HDFS about two days and
after it gives following error in Hive log:
2016-08-10 09:31:34,438 INFO
[hiveServer2.async.summary.batch_hiveServer2.async.summary.batch.hdfs_destWriter]:
provider.BaseAuditHandler (BaseAuditHandler.java:logStatus(312)) -
Audit Status Log: name=hiveServer2.async.summary.batch.hdfs,
interval=01:00.066 minutes, events=1, deferredCount=1,
totalEvents=6657, totalSuccessCount=5203, totalDeferredCount=1454
2016-08-10 09:31:34,443 INFO
[hiveServer2.async.summary.batch_hiveServer2.async.summary.batch.hdfs_destWriter]:
destination.HDFSAuditDestination
(HDFSAuditDestination.java:createConfiguration(263)) - Returning HDFS
Filesystem Config: Configuration: core-default.xml, core-site.xml,
mapred-default.xml, mapred-site.xml, yarn-default.xml, yarn-site.xml,
hdfs-default.xml, hdfs-site.xml
2016-08-10 09:31:34,457 INFO
[hiveServer2.async.summary.batch_hiveServer2.async.summary.batch.hdfs_destWriter]:
destination.HDFSAuditDestination
(HDFSAuditDestination.java:getLogFileStream(224)) - Checking whether
log file exists.
hdfPath=hdfs://mycluster/datasource/ranger/audit/hiveServer2//2016/08/10/hiveServer2_ranger_audit_hadoopnn1.estpak.ee.log,UGI=hive/hadoopnn1.estpak...@testhadoop.com
(auth:KERBEROS)
2016-08-10 09:31:34,459 WARN
[hiveServer2.async.summary.batch_hiveServer2.async.summary.batch.hdfs_destWriter]:
ipc.Client (Client.java:run(680)) - Exception encountered while
connecting to the server :
javax.security.sasl.SaslException: GSS initiate failed [Caused by
GSSException: No valid credentials provided (Mechanism level: Failed
to find any Kerberos tgt)]
Hive is still working correctly after it. After restarting Hive it
writes again audit log to HDFS about two days.
Any hints?
--
Margus (margusja) Roo
http://margus.roo.ee
skype: margusja
+372 51 48 780