Monday, 26 September 2016

Install NiFi in Spark HDInsight Cluster

sudo mkdir tars

cd tars/

sudo wget http://public-repo-1.hortonworks.com/HDF/ubuntu14/1.x/updates/1.2.0.1/HDF-1.2.0.1-1.tar.gz

sudo chmod -R 777 /home/admin123/tars/HDF-1.2.0.1-1.tar.gz

sudo tar -xzvf /home/admin123/tars/HDF-1.2.0.1-1.tar.gz

sudo chmod -R 777 /home/admin123/tars/HDF-1.2.0.1-1

sudo vi /home/admin123/tars/HDF-1.2.0.1-1/nifi/conf/nifi.properties
   change port 8095 (webservices)
   change key: (security)

cd /home/admin123/tars/HDF-1.2.0.1-1/nifi/bin/

sudo ./nifi.sh install

sudo service nifi status

sudo service nifi start

hostname -f

Copy the url
http://hn0-linuxh.xxxxxxxxxxxxxxxxxymrxnfih0c.ix.internal.cloudapp.net:8095/nifi/