Archive

May 2016

SolR, NiFi, Twitter and CDH 5.7

Historical note: this post is from 2016. CDH 5.7, the free Twitter streaming API and Banana are gone, so read it as a record of the approach, not as a current guide. Since the most interesting Apache NiFi parts are coming from ASF [1] or Hortonworks [2], I wanted to try the same on CDH 5.7, just out of curiosity. Here's my 30 minute playground, running in Google Compute Engine at the time. The NiFi flow, the Banana dashboard and the solrconfig.xml from this post are also in my NiFi-CDH-SolR repo on GitHub. On one of my playground nodes I installed Apache NiFi per mkdir /software && cd /software &&  wget https://archive.apache.org/dist/nifi/0.6.1/nifi-0.6.1-bin.tar.gz   && tar xvfz nifi-0.6.1-bin.tar.gz Then I've set only nifi.sensitive.props.key property in conf/nifi.properties to an easy to remember secret. The next bash /software/nifi-0.6.1/bin/nifi.sh install installs Apache NiFi as an service. After log in into Apache NiFi's WebUI, d...