Installing and Running Apache NiFi on Windows Standalone

Apache NiFi is a software project from the Apache Software Foundation designed to automate the flow of data between software systems.

Apache NiFi supports powerful and scalable directed graphs of data routing, transformation, and system mediation logic.

Prerequisites

Add JAVA_HOME in Environment Variables

Once you have installed the JDK 8, we need to setup the System Variable in Environment variables. Open Environment variables from the Start Menu.

In System Variables, click on New. If JAVA_HOME is already present pointing to JRE 1.8 path, then you do not have to perform these steps.

Give a new System variable name JAVA_HOME and choose the directory of jre 1.8.

When you have added the system variable, click on OK.

Download Apache NiFi

Go to the official website and click on the zip file under binaries. At the time of writing this blog, the latest version is 1.14.0.

Download from the first link. The download size is approx. over 1.3 GB.

Unzip the file and this is how the folder structure will be.

Check the Configuration

Open the conf folder and open the nifi.properties file. Scroll to the web properties. Make a note of host and the port where the NiFi will be running.

Run NiFi

Go to the bin folder and open command line from there.

To start the NiFi, you can directly double click on run-nifi.bat file. Or you can just type the file name in command prompt.

If the command line produces a process ID, that means your NiFi is running. You can also check the status of NiFi if it is running or not by executing the status-nifi.bat file.

Go to the following URL – https://127.0.0.1:8443/nifi/ to check if the NiFi has started. Your port might be different. Don’t worry if this URL is not loading instantly. NiFi takes time after starting. It creates the repository folders at the root location.

Once the folders are created, you can check the URL. If you see the below warning, click on Advanced and Proceed.

Following is the login screen you will see.

To get the Username and Password, refer to my blog here. To shutdown the NiFi, just type Cntrl+C on the command line where NiFi is running.

Thank you All!!! Hope you find this useful.


2 thoughts on “Installing and Running Apache NiFi on Windows Standalone

Add yours

Up ↑

%d bloggers like this: