Created 04-15-2016 04:16 PM
Created 04-15-2016 04:25 PM
If you haven't already installed Nifi on the cluster, to update the Nifi service definition in Ambari on HDP 2.4 sandbox, you can follow the steps here
rm -rf /var/lib/ambari-server/resources/stacks/HDP/2.4/services/NIFI sudo git clone https://github.com/abajwa-hw/ambari-nifi-service.git /var/lib/ambari-server/resources/stacks/HDP/2.4/services/NIFI service ambari restart
Then restart Ambari and install Nidi using 'Add service wizard' as usual
Created 04-15-2016 04:25 PM
If you haven't already installed Nifi on the cluster, to update the Nifi service definition in Ambari on HDP 2.4 sandbox, you can follow the steps here
rm -rf /var/lib/ambari-server/resources/stacks/HDP/2.4/services/NIFI sudo git clone https://github.com/abajwa-hw/ambari-nifi-service.git /var/lib/ambari-server/resources/stacks/HDP/2.4/services/NIFI service ambari restart
Then restart Ambari and install Nidi using 'Add service wizard' as usual
Created 04-15-2016 04:41 PM
@Ali BajwaThank you. I already have the Nifi deployed in Ambari. Please find attached. I need to update it to nifi 0.6.0. How can i upgrade the version.
Created 04-15-2016 04:50 PM
Hi, the above links contain detailed instructions on removing and adding the NiFi service again, did they work for you? Or are you trying to preserve whatever data you have in the sandbox for NiFi?
Created 04-15-2016 06:05 PM
@sree balaji the ambari service does not support upgrade, so a reinstall would be needed. As Andrew mentioned, if you have already installed Nifi then you should use the instructions on the github to first remove service and Nifi installation. Then follow the instructions I provided above to update the service definition and re-install Nifi.
Created 04-15-2016 05:17 PM
Hi, How can i check if it is the latest version or not. After i execute the above instructions and i restarted ambari, the nifi configs still shows the same version number nifi.version=0.3.0-SNAPSHOT. And in my Nifi HDF, i cant see the latest executescript processors. Please let me know.
Created 04-15-2016 05:18 PM
As an indication, when you are in the NiFi UI, you have an "about" link at the top-right, it should let you know which version of NiFi is running.
Created 04-15-2016 05:35 PM
@Pierre Villard, Thanks. I am still running the older version 0.3.0-snapshot. As per link sent by Ali Bajwa i will try to remove the existing Nifi service and add the new one 0.6.0.
Created 04-15-2016 06:54 PM
Hi, I am getting this error: HTTP/1.1 500 Internal Server Error. I tried to stop all the components and service but i am unable to remove the service from sandbox cluster. NIFI_MASTER is in a non-removable state, and it throws system exception saying that :could not delete component from cluster. Any help is appreciated.
Created 04-15-2016 07:49 PM
Restarted the sandbox, and finally got rid of the service from ambari!