Skip to main content

Posts

Showing posts from March, 2019

Using Sensors At Scale on the Edge Part 1 : Apache NiFi : MiNiFi : CEM

Using Sensors At Scale on the Edge Part 1 : Apache NiFi : MiNiFi : CEM In the next release I will be adding CEM. This is an update to an existing flow that adds new features based on Apache NiFi 1.9.1.   We will also be migrating this to MiNiFi 0.6.0 C++ with Cloudera CEM. *Will be updated with CEM and MFC++ Agent 0.6.0 Links : https://community.hortonworks.com/articles/229522/iot-series-sensors-utilizing-breakout-garden-hat-p.html https://community.hortonworks.com/articles/232136/iot-series-sensors-utilizing-breakout-garden-hat-p-1.html  Source: https://github.com/tspannhw/cdsw-queries/tree/master https://github.com/tspannhw/minifi-breakoutgarden

Advanced XML Processing with Apache NiFi 1.9.1

Advanced XML Processing with Apache NiFi 1.9.1 With the latest version of Apache NiFi, you can now directly convert XML to JSON or Apache AVRO, CSV or any other format supported by RecordWriters.   This is a great advancement.  To make it even easier, you don't even need to know the schema before hand.   There is a built-in option to Infer Schema. The results of an RSS (XML) feed converted to JSON and displayed in a slack channel. Besides just RSS feeds, we can grab regular XML data including XML data that is wrapped in a Zip file (or even in a Zipfile in an email, SFTP server or Google Docs). Get the Hourly Weather Observation for the United States Decompress That Zip  Unpack That Zip into Files One ZIP becomes many XML files of data. An example XML record from a NOAA weather station. Converted to JSON Automagically Let's Read Those Records With A Query and Convert the results to JSON Records

A Look Around Apache NiFi 1.9.x

Apache NiFi 1.9 Deep Look

YARN From NiFi

YARN Job Kickoff https://community.hortonworks.com/articles/42995/yarn-application-monitoring-with-nifi.html https://github.com/jobinthompu/YARN-Long-Running-Application-Monitoring-with-NiFi https://community.hortonworks.com/questions/199362/executing-shell-script-to-a-remote-machine-in-nifi.html https://github.com/tspannhw/nifi-mxnet-yarn https://community.hortonworks.com/articles/174399/apache-deep-learning-101-using-apache-mxnet-on-apa.html https://www.youtube.com/watch?v=Ez9NPIS0XS8 https://community.hortonworks.com/articles/28070/starting-spark-jobs-directly-via-yarn-rest-api.html https://dataworkssummit.com/berlin-2018/session/apache-deep-learning-101/ https://github.com/felixalbani/future-of-data-santiago-e1-spark-nifi https://github.com/tspannhw/Logs https://github.com/jobinthompu/Spark-NiFi-Workshop https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.5/bk_yarn-resource-management/content/ch_yarn_rest_apis.html There are ways to integrate Apache NiFi with Ap

IoT Series: Sensors: Utilizing Breakout Garden Hat: Part 1 - Introduction

IoT Series: Sensors: Utilizing Breakout Garden Hat: Part 1 - Introduction An easy option for adding, removing and prototype sensor reads from a standard Raspberry Pi with no special wiring. Hardware Component List: Raspberry Pi USB Power Cable Pimoroni Breakout Garden Hat 1.12" Mono OLED Breakout 128x128 White/Black Screen BME680 Air Quality, Temperature, Pressure, Humidity Sensor LWM303D 6D0F Motion Sensor (X, Y, Z Axes) BH1745 Luminance and Color Sensor LTR-559 Light and Proximity Sensor 0.01 lux to 64,000 lux VL53L1X Time of Flight (TOF) Sensor Pew Pew Lasers! Software Component List: Raspian Python 2.7 JDK 8 Java Apache NiFi MiniFi Source Code: https://github.com/tspannhw/minifi-breakoutgarden Shell Script ( https://github.com/tspannhw/minifi-breakoutgarden/blob/master/runbrk.sh ) Python ( https://github.com/tspannhw/minifi-breakoutgarden/blob/master/brk.py ) Summary Our Raspberry Pi has a Breakout Garden Hat with 5 sensors and one small