NiFi actions

This article describes the main actions available for working with the service in ADCM.

To go to actions in the service, click the cluster name on the Clusters page, open the Services tab, click actions default dark actions default light in the line corresponding to NiFi service and choose the desired action.

When you select an action, ADCM displays a dialog box to confirm your selection. In this dialog box, you can select the Verbose check box to view additional information about the execution of the action on the Jobs page.

Action confirmation
Action confirmation

To view the results of an action, go to Jobs and click the name of the corresponding action or on its component.

Next, the page with the results of the action becomes available for viewing, where you can analyze errors if they occur.

Action result
Action result

Check

The Check action checks the health of the service.

In NiFi, Check checks the service availability on the port and the service status.

Expand

The Expand action expands the number of service instances in the established cluster. To expand the number of service instances, do the following:

  1. Set options for installing new instances of the service.

  2. Confirm your choice by clicking Next.

    Configuration to run cluster extension
    Configuration to run cluster extension
    Options for installing new service instances
    Option Description

    List the DNames

    List of user and system IDs to add to NiFi Server/Registry. To enter each user, click the + 1 symbol and enter the user name, for example CN=nifi_node_hostname, OU=Arenadata, O=Arenadata, L=Moscow, ST=Moscow, C=RU

    Disable SELinux

    Disable SELinux on added hosts. In order for this setting to take effect, after the operation is completed, you must restart the hosts manually

    Disable Firewalld

    Shutting down firewalld on hosts

    Install OpenJDK

    Installing java-1.8.0-openjdk package on hosts

    Set vm.swappiness to 0

    Disabling swapping on hosts

    Configure /etc/hosts

    Write added nodes to /etc/hosts on cluster hosts. It is recommended to disable this option if DNS is configured

    Set service checks

    Enables service checking when starting an action

  3. Add the required number of hosts for each available component.

  4. Confirm the action by clicking Run.

    NOTE

    When placing components on new hosts, it is necessary to place the System metrics Agent component of the Monitoring Clients service on the each new host.

    Installing service components for cluster expansion
    Installing service components for cluster expansion

Shrink

The Shrink action reduces the number of service instances in the installed cluster. To reduce the number of service instances, do the following:

  1. Fill in List the DNames — a list of user and system IDs to remove from the NiFi Server/Registry. To enter each user, click the + symbol and enter the username, for example CN=nifi_node_hostname, OU=Arenadata, O=Arenadata, L=Moscow, ST=Moscow, C=RU.

  2. Click Next.

    List to remove from NiFi Server/Registry
    List to remove from NiFi Server/Registry
  3. Select which hosts hosting components need to be removed.

  4. Confirm the action by clicking Run.

Removing service components to reduce the cluster
Removing service components to reduce the cluster

Restart

The Restart action stops and then starts the service. To restart the service:

  1. Select the required value for the Apply configs from ADCM option. If it is set to true, all service configurations defined in ADCM settings will be applied during the service restart. Otherwise, the service restarts without applying configurations from ADCM.

  2. Confirm the action by clicking Run.

Configuration for restarting the service
Configuration for restarting the service

Start

The Start action starts the service. To start the service:

  1. Select the required value for the Apply configs from ADCM option.

  2. Confirm the action by clicking Run.

Configuration for restarting the service
Configuration for starting the service

Stop

The Stop action stops the service.

Manage Initial Admin

The Manage Initial Admin action is used when the NiFi Initial Admin parameter needs to be changed after configuring NiFi service authentication.

Performing an action triggers:

Manage Ranger plugin

The Manage Ranger plugin action triggers the Ranger NiFi plugin activation to enable NiFi service authorization.

Found a mistake? Seleсt text and press Ctrl+Enter to report it