Support Questions

Find answers, ask questions, and share your expertise

Unable to install NiFi (using Ambari) on hdp2.4 sandbox...

I have downloaded HDP2.4 sandbox(Oracle Virtual Box). All components are running perfectly, when i add NiFi service using Ambari it failed to install. Attached is the error.txt and output.txt file. I have checked my /etc/host file having proper host name with correct IP. I am logged in using admin in Ambari also seems good.

1 ACCEPTED SOLUTION

Guru

Hi @Mukesh Kumar. As Andrew Grande stated, installing NiFi is very simple. Documentation can be found here: https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#downloading-and-installing-nifi

Alternatively, there is a HDP Sandbox tutorial ("REALTIME EVENT PROCESSING IN HADOOP WITH NIFI, KAFKA AND STORM") that demonstrates how to install NiFi specifically onto the Sandbox using an install script. The link to this tutorial: http://hortonworks.com/hadoop-tutorial/realtime-event-processing-nifi-kafka-storm/#section_3

You can find the steps within the APACHE NIFI section, specifically STEP 2: INSTALL NIFI.

View solution in original post

4 REPLIES 4

This service isn't official, and look like it's trying to download a very old NiFi version. Until an official Ambari service is released I recommend you simply download and install yourself, it's trivial (just change the port from the default 8080 in conf/nifi.properties to avoid conflicts).

Guru

Hi @Mukesh Kumar. As Andrew Grande stated, installing NiFi is very simple. Documentation can be found here: https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#downloading-and-installing-nifi

Alternatively, there is a HDP Sandbox tutorial ("REALTIME EVENT PROCESSING IN HADOOP WITH NIFI, KAFKA AND STORM") that demonstrates how to install NiFi specifically onto the Sandbox using an install script. The link to this tutorial: http://hortonworks.com/hadoop-tutorial/realtime-event-processing-nifi-kafka-storm/#section_3

You can find the steps within the APACHE NIFI section, specifically STEP 2: INSTALL NIFI.

Expert Contributor

Hi @Mukesh Kumar,

The below guide explains step by step process to install Nifi, run a simple twitter demo. Hope this helps.

https://community.hortonworks.com/articles/1282/sample-hdfnifi-flow-to-push-tweets-into-solrbanana.h...

Thanks,

Sujitha

@Mukesh Kumar just had a chance to look at your logs. Seems like when Ambari attempted to download the zip, there was a problem and the zip is corrupted. You can double check your sandbox has internet access (eg. by pinging hortonworks.com) and run below command to remove the incomplete download. Then follow the steps here to remove the failed install in Ambari and repeat the install steps here

rm -f /tmp/nifi-*zip
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.