Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.26 KB

ambari-plugin-install.md

File metadata and controls

39 lines (23 loc) · 1.26 KB
layout title permalink
doc
Install Eagle Ambari Plugin
/docs/ambari-plugin-install.html

Assume Eagle package has been copied and exacted under /usr/hdp/current/eagle.

WARNING: the following instructions work in sandbox currently.

Pre-requisites

  1. Create a Kafka topic if you have not. Here is an example command.

    $ /usr/hdp/current/kafka-broker/bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic sandbox_hdfs_audit_log
    
  2. Stream HDFS log data to Kafka, and refer to here on how to do it .

Installation Steps

  1. Start dependent services Storm, Spark, HBase & Kafka via Ambari.

  2. Install Eagle Ambari plugin

    $ /usr/hdp/current/eagle/bin/eagle-ambari.sh install
    
  3. Restart Ambari click on disable and enable Ambari back.

  4. Add Eagle Service to Ambari. Click on "Add Service" on Ambari Main page

    AddService Eagle Services

  5. Add Policies and meta data required by running the below script.

    $ cd <eagle-home>
    $ examples/sample-sensitivity-resource-create.sh
    $ examples/sample-policy-create.sh