X

Cloudera Tutorials

Optimize your time with detailed tutorials that clearly explain the best way to deploy, use, and manage Cloudera products. Login or register below to access all Cloudera tutorials.

Cloudera named a leader in 2022 Gartner® Magic Quadrant™ for Cloud Database Management Systems Get the report

Ready to Get Started?

 

NOTICE

 

As of January 31, 2021, this tutorial references legacy products that no longer represent Cloudera’s current product offerings.

Please visit recommended tutorials:

 

Introduction

With the Cloudera DataFlow (CDF) 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 CDF 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 raj_ops/raj_ops to login to Ambari.

login_ambari_ui

3. Select the NiFi Service, and click on 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) 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.



Your form submission has failed.

This may have been caused by one of the following:

  • Your request timed out
  • A plugin/browser extension blocked the submission. If you have an ad blocking plugin please disable it and close this message to reload the page.