Community Articles

Find and share helpful community-sourced technical articles.
Labels (1)
avatar
Guru

Objective

This article highlights some of the latest UI enhancements added in Apache NiFi 1.5.0.

Environment

The examples shown in the article utilized the following environment and components:

  • Mac OS X 10.11.6
  • Apache NiFi 1.5.0

"Primary Node" Processors Identification

In a NiFi Cluster, processors that have been configured for "Primary node" execution are now identified in the UI by a "P". On the canvas, the "P" is visible next to the processor icon:

56462-1-processor-p.png

The "P" is also shown in the Processors tab on the Summary page, specifically in the Name column:

56463-2-summary-page-p.png

Finding Processors Quickly in the Summary Page

If your flow has hundreds of processors, it can be difficult differentiating between them in the Summary page (accessible from the top-right Global menu). On the Processors tab, a "Process Group" column has been added to display the name of the parent process group containing the component:

56464-3-summary-page-process-group.png

Additionally, when hovering over the "Go to location" button the tooltip now includes the path of the component.

NiFi Registry Integration

NiFi 1.5.0 is the first release to integrate with the Apache NiFi Registry. NiFi dataflows can now be versioned on the process group level and easily deployed across different NiFi instances. More information can be found in the HCC article "Versioned DataFlows with Apache NiFi 1.5 and Apache NiFi Registry 0.1.0" and in the "Versioning a Dataflow" section of the NiFi User Guide. However, here are some related UI changes to highlight.

Connecting a Registry Client

The NiFi Settings window (accessible from Controller Settings in the top-right Global menu) now has a "Registry Clients" tab where you can connect NiFi to a NiFi Registry:

56465-4-local-registry.png

Importing a Flow

If your NiFi instance is connected to an active Registry, when adding a process group to the canvas there is also an option to "Import" a versioned flow:

56466-5-import-flow-from-registry.png

Selecting "Import" prompts the user to choose a version of a flow to add to the canvas:

56467-6-import-abcd-version-2.png

Version States

There are new icons that show:

  1. the version state of an individual process group
  2. the count of the statuses of versioned process groups within a process group
  3. the count of the statuses of versioned process groups in the root process group

56468-7-version-states-display.png

Here are the meanings of each icon/state:

  • 56469-8-iconuptodate.png Up to date

  • 56470-9-iconlocallymodified.png Locally modified

  • 56472-10-iconstale.png Stale

  • 56473-11-iconlocallymodifiedstale.png Locally modified and stale

  • 56474-12-iconsyncfailure.png Sync failure

Version state information is also shown in the "Process Groups" tab of the Summary Page:

56475-13-version-state-summary-page.png

As mentioned previously, more information regarding NiFi and NiFi Registry integration can be found in the "Versioning a Dataflow" section of the NiFi User Guide.

1,304 Views