Installing and Upgrading NiFi
Also available as:
PDF

Using a Domain User for NiFi Windows Service

When you are using a domain user for your NiFi Windows service, you must set and configure the appropriate permissions, Install and set up the ActiveDirectory PowerShell module, and configure the appropriate user name and password in the HDF NiFi setup window.

  • The computer must be part of the domain.

  • The specified user must exist in the domain, and a correct password must be provided.

  • ActiveDirectory PowerShell module must be available.

  1. In the Group Policy Management Editor, set permission to ‘Log on as a service.’

    Log_on_as_service.png



  2. Navigate to a machine on which NiFi is installed and enter the following command:
    gpupdate

    The gpupdate command is a machine-wide command and can be executed from any directory on the NiFi machine.

  3. Install the ActiveDirectory PowerShell module by entering the following in the PowerShell console:
    Add-WindowsFeature RSAT-AD-PowerShell
  4. In the HDF NiFi setup window, uncheck ‘Local User’ checkbox then click Install.

    HDF_NiFi_setup.png



After installation, you can update Java options at nifi-install-dir\conf\bootstrap.conf file. Repository locations are at nifi-install-dir\conf\nifi.properties file.