Since Apache Eagle 0.3.0-incubating. Apache Eagle will be called Eagle in the following.
This Guide describes the steps to enable HIVE[^HIVE] query activity monitoring.
There are a couple of methods to capture HIVE query logs. As of 0.4.0, Eagle uses YARN API to periodically poll running HIVE jobs and in realtime parse query expressions. So here Eagle assumes resource manager is installed in Hadoop[^HADOOP] cluster.
$ su hive $ hive $ set hive.execution.engine=mr; $ use xademo; $ select a.phone_number from customer_details a, call_detail_records b where a.phone_number=b.phone_number;
From UI click on alert tab and you should see alert for your attempt to read restricted column.
[^HIVE]:All mentions of “hive” on this page represent Apache Hive.