Support Questions
Find answers, ask questions, and share your expertise

Installation NiFi

Hi,

i installed HDP 2.5 on a cluster composed by 2 nodes through Ambari Server. Now, I want to install NiFi through Amabari Server Web Interface -> Actions -> Apache NiFi. But this not is the right mode to install it.

How install I it?

Thanks

6 REPLIES 6

Contributor

@Andrea L have you seen this? https://github.com/abajwa-hw/ambari-nifi-service

It has been updated to work with NiFi 1.0 which should solve your problem.

Master Guru

@Andrea L

HDF 2.0 introduced support for integration and installation via Ambari. HDF 2.0 requires its own Ambari to deploy and manage the HDF stack. You cannot install NiFi via HDP's stack/Ambari. Both products (HDP and HDF) are separate installs managed by separate Ambari installs.

Thanks,

Matt

Super Guru

Follow this exactly.

You cannot have Apache NiFi or Ambari or anything else on that machine before hand other than Python, Java 8 and the normal libraries. No existing HDP or HDF or NiFi installs.

http://docs.hortonworks.com/HDPDocuments/HDF2/HDF-2.0.0/bk_ambari-installation/content/index.html

Master Guru

@Timothy Spann

Did you mean "cannot" instead of "can"?

The documentation at the link you provided states:

"Hortonworks Data Platform (HDP) and any of its components are not anticipated to be combined with any hardware, software or data, except as expressly recommended in this documentation."

Super Guru

sorry about, yes I meant cannot. I fixed that typo. I tried it and you can't have two different clusters managed by one ambari. So don't even try.

Please,

Try install Nifi using command line.

wget 'https://archive.apache.org/dist/nifi/1.1.1/nifi-1.1.1-bin.zip'

unzip nifi-1.1.1-bin.zip

sudo sh nifi-1.1.1/bin/nifi.sh start 

*Create a tunnel for your localhost:8080

*Access the URL: localhost:8080/nifi

If you need change the default port, access the file

sudo vi nifi-1.1.1/conf/nifi.properties 
And change de value 8080

For restart nifi 
sudo sh nifi-1.1.1/bin/nifi.sh restart

Thanks!