Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Installing Nifi using Ambari

Solved Go to solution
Highlighted

Installing Nifi using Ambari

Explorer

Going to "Add Service Wizard" from ambari, and get this error:

500 status code received on POST method for API: /api/v1/stacks/HDP/versions/2.5/recommendations

Error message: Error occured during stack advisor command invocation: Cannot create /var/run/ambari-server/stack-recommendations/2

I then tried to delete that directory in the sandbox and using rm - r recommendations/2 and it's unable to delete it. Is it possible to install Nifi using the ambari? Every angle I've tried has not worked using the most updated downloads.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Installing Nifi using Ambari

It seems you are trying to install Nifi/HDF using Ambari which is managing HDP cluster. At present, HDF cannot be installed using same Ambari which is already managing HDP cluster. You will have to install HDF using dedicated Ambari. Refer below:

https://docs.hortonworks.com/HDPDocuments/HDF2/HDF-2.0.1/bk_ambari-installation/content/ch_getting_r...

View solution in original post

9 REPLIES 9
Highlighted

Re: Installing Nifi using Ambari

It seems you are trying to install Nifi/HDF using Ambari which is managing HDP cluster. At present, HDF cannot be installed using same Ambari which is already managing HDP cluster. You will have to install HDF using dedicated Ambari. Refer below:

https://docs.hortonworks.com/HDPDocuments/HDF2/HDF-2.0.1/bk_ambari-installation/content/ch_getting_r...

View solution in original post

Highlighted

Re: Installing Nifi using Ambari

This works for me! Thank you.

Highlighted

Re: Installing Nifi using Ambari

Rising Star

Here is an updated answer from the same post: http://community.hortonworks.com/answers/141427/view.html

Highlighted

Re: Installing Nifi using Ambari

Explorer

Perhaps I wasn't clear, on this tutorial you can start it using Ambari. This is the steps I followed: http://hortonworks.com/hadoop-tutorial/learning-ropes-apache-nifi/#start-nifi-ambari

Re: Installing Nifi using Ambari

Explorer

It seems that the content of this page has changed. There's no more information about ambari. Does somebody know where to find a tutorial to start nifi with ambari (for beginner)?

Highlighted

Re: Installing Nifi using Ambari

Super Guru

You cannot install NIFI on the same cluster as HDP 2.5.

NIFI as HDF needs it's own cluster and it's own Ambari. Sandbox has a workaround, but you shouldn't mix HDP ambari and HDF ambari. It will corrupt ambari.

You can install HDF via Ambari to it's own fresh cluster and fresh ambari.

Follow these instructions on a clean cluster with no ambari, no hdp, just root access and a nice Linux like Centos 7.2

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

Highlighted

Re: Installing Nifi using Ambari

Explorer
@Timothy Spann

not using ambari, is it still possible to enable Nifi on HDP within the sandbox?

Highlighted

Re: Installing Nifi using Ambari

Contributor

Nifi can be downloaded as a standalone version (HDF2.0) Or installed with the help of the Nifi Management pack added to Ambari.

Within sandbox, This version of Nifi should work fine. (Note , you may need to remove the LZO Codec from a copy of the core-site.xml to allow writing to HDFS with HDF2.0)

Highlighted

Re: Installing Nifi using Ambari

Cloudera Employee

Just to give an update on this thread: Since HDF 3.0 it is possible to install HDF 3.0 on top of HDP 2.6 or newer and manage HDP and HDF from the same Ambari. To install HDF on top of HDP download and install the HDF management pack and then just add Nifi as another service in Ambari. See https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.0.1.1/bk_installing-hdf-and-hdp/content/ch_inst....

Don't have an account?
Coming from Hortonworks? Activate your account here