Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to connect Eagle with sandbox hive

Unable to connect Eagle with sandbox hive

New Contributor

I have installed eagle in sandbox and have defined Hive and HDFS policies in eagle.

When I execute Hive queries in XADEMO schema from Sandbox Hive admin view , I can see the data output from tables but I was expecting to see some alerts from Eagle for these Hive data access. However,I have no policy alerts .

I think that Eagle is not connected to Sandbox hive.

Is there some special configuration/setting that I need to do to get ambari Hive connected to Eagle in Hive

7 REPLIES 7

Re: Unable to connect Eagle with sandbox hive

Mentor

@san Nagal can you document the steps and post any logs so we could help?

Re: Unable to connect Eagle with sandbox hive

@san Nagal

Eagle is not part of the stack so you would have to provide more information on this. Whats your expectation? Whats in eagle logs?

Looking forward to try it http://goeagle.io/

Please do share details from the logs

Re: Unable to connect Eagle with sandbox hive

@san Nagal Eagle is not part of the stack so it can be hard to provide you exact support. Re: Kafka

It's related to "Make sure that broker is running and port is correct."

We can keep this thread alive and you can share more details on the errors

Re: Unable to connect Eagle with sandbox hive

New Contributor

dtemplogsfrom-eagle.pdfdtempsanbox-hive-eagle-issue.pdfI have attached screenshots of the steps.

Eagle logs are mostly system related and does not show any error or reflect any info about the hive access.

while the issue is not generating alert in Eagle, I first want to make sure the Sandbox (ambari ) Hive is able to connect eagle service.

Re: Unable to connect Eagle with sandbox hive

@san Nagal Pulling down docker image...thanks for inspiring !!!

Re: Unable to connect Eagle with sandbox hive

New Contributor

I tried to get this working for HDFS policy and it seems that I am receiving error while writing to KAFKA topic.

I am getting "connection Refused" error.

I have a kafka topic 'Sandbox_hdfs_audit_log' and hdfs action events are not logged into this topic. when I view kafka.out , I see

ERROR Exception emitting metrics - org.apache.hadoop.metrics2.sink.timelineUnableToConnectException:java.net.ConnectException.

below is the screenshot of error.

your help with this is very much appreciated.

2053-dtempkafkaerror.png

Re: Unable to connect Eagle with sandbox hive

@san Nagal It has to do with kafka port. Make sure that broker is running and port is correct.

Don't have an account?
Coming from Hortonworks? Activate your account here