layout | title | permalink |
---|---|---|
doc |
Install Apache Eagle |
/docs/installation.html |
To insall eagle on a sandbox you need to have orcale virtual box and HDP sandbox image.
- Oracle VirtualBox.
- Hortonworks Sandbox v 2.2.4 or later.
- Register Hortonworks sandbox.
- Enable Ambari. Click on Enable Button.
- Login as admin/admin.
- Step 1: Clone stable version from eagle github
Build project mvn clean install -DskipTests=true
-
Step 2: Download eagle-bin-0.1.0.tar.gz package from successful build into your HDP sandbox.
-
Option 1:
scp -P 2222 eagle/eagle-assembly/target/eagle-0.1.0-bin.tar.gz [email protected]:/usr/hdp/current/
-
Option 2: Create shared directory between host and Sandbox, and restart Sandbox. Then you can find the shared directory under /media in Sandbox.
-
-
Step 3: Extract eagle tarball package
$ cd /usr/hdp/current $ tar -zxvf eagle-0.1.0-bin.tar.gz $ mv eagle-0.1.0 eagle
-
Step 4: Add root as a HBase1 superuser via Ambari (Optional, a user can operate HBase by sudo su hbase, as an alternative).
-
Step 5: Install Eagle Ambari2 service
/usr/hdp/current/eagle/bin/eagle-ambari.sh install.
-
Step 6: Restart Ambari click on disable and enable Ambari back.
-
Step 7: Start HBase & Storm3 & Kafka4 From Ambari UI, restart any suggested components("Restart button on top") & Start Storm (Start "Nimbus" ,"Supervisor" & "Storm UI Server"), Kafka (Start "Kafka Broker") , HBase (Start "RegionServer" and " HBase Master")
-
Step 8: Add Eagle Service To Ambari. (Click For Video)
-
Step 9: Add Policies and meta data required by running below script.
$ /usr/hdp/current/eagle/examples/sample-sensitivity-resource-create.sh $ /usr/hdp/current/eagle/examples/sample-policy-create.sh