-
Get Sandbox Make sure Kafka port is setup in port fowarding of VM. should be 6667
-
Install NiFi (https://github.com/abajwa-hw/ambari-nifi-service)
-
Start SOLR from /root ./start_solr.sh
-
Create /root/settopbox directory
mkdir settopbox
-
Copy Jars/Config to VM: scp SettopBoxDemo_Utils.jar, DemoData.properties and DemoData_ProgramGuide.csv to /root/settopbox
-
update DemoData.properties file: Switch paths to /root/settopbox/ settopboxdemo.data.input.program_guide=/root/settopbox/DemoData_ProgramGuide.csv settopboxdemo.kafka.input_file=/root/settopbox/input_test.txt settopboxdemo.data.output.events=/root/settopbox/input_test.txt
-
Create settopbox index: curl "http://127.0.0.1:8983/solr/admin/cores?action=CREATE&name=settopbox&instanceDir=/opt/lucidworks-hdpsearch/solr/server/solr/settopbox&configSet=hdp"
-
Load NiFi template (NiFi_SetTopBox.xml)
-
In banana dashboard, load the "Set Top Box Events - ##########" file
-
In banana dashboard settings (gear box in upper right), make sure SOLR config has server = “/solr/“ and collection = “settopbox"
-
Start NiFi processors
-
Run java -cp SettopBoxDemo_Utils.jar com.hortonworks.settopboxdemo.DataGenerator DemoData.properties java -cp SettopBoxDemo_Utils.jar com.hortonworks.settopboxdemo.MessageSender DemoData.properties
forked from chriscasano/SetTopBox
-
Notifications
You must be signed in to change notification settings - Fork 0
timrcase/SetTopBox
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Example of a real time set top box event dashboard using Hortonworks data flow and platform
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Java 100.0%