newsletter

Get fresh updates from Hortonworks by email

Once a month, receive latest insights, trends, analytics information and knowledge of Big Data.

AVAILABLE NEWSLETTERS:

Sign up for the Developers Newsletter

Once a month, receive latest insights, trends, analytics information and knowledge of Big Data.

cta

Get Started

cloud

Ready to Get Started?

Download sandbox

How can we help you?

* I understand I can unsubscribe at any time. I also acknowledge the additional information found in Hortonworks Privacy Policy.
closeClose button
HDF > Develop Data Flow & Streaming Applications > Real World Examples

Analyze Transit Patterns with Apache NiFi

Launch NiFi HTML UI

cloud Ready to Get Started?

DOWNLOAD SANDBOX

Introduction

With the Hortonworks DataFlow (HDF) Sandbox, Apache NiFi comes pre-installed in the Ambari Stack and pre-configured out of the box to utilize many of its features. In the tutorial, it shows you how to access the NiFi HTML UI in one of two ways: use the HDF Splash Screen Page “Advanced Quick Links” or Ambari UI “Quick Links”.

Prerequisites

Outline

Note: For VMware users, you will need to add the auto generated IP address on startup of your virtual machine followed by HDF Sandbox hostname to your hosts file, example 192.168.17.129 sandbox-hdf.hortonworks.com. On MAC, open /private/etc/hosts; LINUX, open /etc/hosts; WINDOWS 10, open C:\Windows\System32\drivers\etc\hosts as an administrator.

Step 1: Open HDF Splash Page

1. Open sandbox-hdf.hortonworks.com:1080 with your favorite web browser:

hdf_splash_screen

Choose either approach to access NiFi UI.

Approach 1: Access NiFi HTML UI via Ambari Dashboard

1. Select the LAUNCH DASHBOARD button

2. Type admin/admin to login to Ambari.

login_ambari_ui

3. Select the NiFi Service, click on Quick Links dropdown and press the NiFi UI:

open-nifi-ui-via-ambari.png

4. The NiFi UI comes with a default Trucking-IoT NiFiFlow as seen on the image below. To delete the default NiFiFlow and work with a new canvas select the NiFiFlow (cltr+A for Mac) then right click and select delete.

delete_trucking_iot_nififlow

Sample of a clean NiFi Canvas:
open_nifi_html_interface.png

Approach 2: Launch NiFi HTML UI from HDF Splash Quick Links

1. Select the QUICK LINKS button

2. Hover over the NiFi box and select Go to UI

splash_nifi_quicklink

3. The NiFi UI comes with a default Trucking-IoT NiFiFlow as seen on the image below. To delete the default NiFiFlow and work with a new canvas select the NiFiFlow (cltr+A for Mac) then right click and select delete.

delete_trucking_iot_nififlow

Sample of a clean NiFi Canvas:
open_nifi_html_interface.png

Summary

Congratulations! You explored two approaches for launching NiFi UI. You opened the HDF Splash Page: Approach 1 was launching the Ambari Dashboard from the “New To HDF path” while Approach 2 was using the NiFi Quick Link from the “Advanced HDF path”. Now you are ready to explore the next tutorial to began building our simple dataflow.

User Reviews

User Rating
0 No Reviews
5 Star 0%
4 Star 0%
3 Star 0%
2 Star 0%
1 Star 0%
Tutorial Name
Analyze Transit Patterns with Apache NiFi

To ask a question, or find an answer, please visit the Hortonworks Community Connection.

No Reviews
Write Review

Register

Please register to write a review

Share Your Experience

Example: Best Tutorial Ever

You must write at least 50 characters for this field.

Success

Thank you for sharing your review!