Community Articles

Find and share helpful community-sourced technical articles.
Welcome to the upgraded Community! Read this blog to see What’s New!

To begin you have 2 options.

1. Download the Apache NiFi package onto hn0 of your HDI cluster and start nifi using

"NIFIHOME"/bin/ start

2. Install NiFi through Ambari

See this link for a walkthrough of getting the Ambari nifi installer loaded. :

To install Nifi, start the 'Install Wizard': Open Ambari then:

  • On bottom left -> Actions -> Add service -> check NiFi server -> Next -> Next -> Change any config you like (e.g. install dir, port, setup_prebuilt or values in -> Next -> Deploy. This will kick off the install which will run for 5-10min.

That will get you a NiFi instance on your Cluster hn0 and next you will want to set up your laptop to be able to connect to NiFi.

To do this you first need to set up an ssh tunnel into hn0.


ssh -L

this will route all traffic from localhost 9000 into Azure and also encrypt it.

next go to your network settings.

click Proxy Setting Tab

Create new proxy

(server) localhost (port) 9000


Now from your browser navigate to


* Of course substitute the proper "serveraddress".

From here you can begin building workflows and ingesting data into HDI.

If you wish to write to HDFS on your HDI cluster you will need to also update some library files in NiFi in order to use WASB.

Verify that the checksum is correct and replace the following two files in your $NIFI_HOME/lib directory.



And if the head node has unzip, check that

unzip -t
| grep -i azure


META-INF/bundled-dependencies/azure-storage-2.0.0.jar  OKtesting:
META-INF/bundled-dependencies/hadoop-azure-2.7.2.jar  OK

Now inside of your PutHDFS processor you will need to point to the location of your hdfs-site.xml and core-site.xml files (Full Path) and also the directory you wish to write in.

Tutorials on what to do next can be found all over HCC.

Try importing Twitter data by following along with this tutorial : Twitter Ingest Tutorial

New Member

Hi @vnv,


How can I find my "serveraddress" in http://hn0-"serveraddress".com:8080/nifi

My HDInsight Cluster is :
My Head Node0 is :
My Head Node1 is :


Thanks for your help !


Can you please show where to get the serveraddress please?


@Law  serveraddress is hostname of host where nifi service is installed. E.g you have installed it on then it would be "" .If you enable SSL for nifi later then the URL will change to "<secure_port>/nifi". Also you should check that host and port are reachable from your browser to access NiFi UI.




If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here.



Version history
Last update:
‎08-17-2019 10:50 AM
Updated by:
Guru Guru