Support Questions

Find answers, ask questions, and share your expertise

Issues in installing NIFI on sandbox

avatar

HI,

Currently, started working in NIFI and I followed NIFI learning ropes.

Here I have used installation using command line. Everything is fine, I try to run the script ./jdkinstall_nifi.sh - finally it ends up like this...

Installing new version of jdk
Changing the configs of Nifi to use this jdk
grep: /root/HDF-2.0.0.0/nifi/bin/nifi.sh: No such file or directory
sed: can't read /root/HDF-*/nifi/bin/nifi.sh: No such file or directory
grep: /root/HDF-2.0.0.0/nifi/bin/nifi.sh: No such file or directory
sed: -e expression #1, char 1: unknown command: `,'
grep: /root/HDF-2.0.0.0/nifi/conf/bootstrap.conf: No such file or directory
sed: can't read /root/HDF-*/nifi/conf/bootstrap.conf: No such file or directory
sed: can't read /root/HDF-2.0.0.0/nifi/conf/bootstrap.conf: No such file or directory

	[root@sandbox ~]# ls
anaconda-ks.cfg build.out HDF-2.0.0.0-579.tar.gz install.log 
install.log.syslog jdkinstall_nifi.sh sandbox.info start_ambari.sh 
start_hbase.sh start_solr.sh stop_solr.sh
[root@sandbox ~]#
[root@sandbox ~]#
[root@sandbox ~]# cd hdf/HDF-2.0.0.0/nifi/bin
-bash: cd: hdf/HDF-2.0.0.0/nifi/bin: No such file or directory

How to solve this issue!!! I am new to NIFI !!!

I actually followed this turorial NIFI Installation

Prabha

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Seems like you have downloaded tar.gz file of HDF but have not extracted it. Try running this command after SCP step

tar xvf /root/HDF-2.0.0.0-579.tar.gz

After this, run the jdk install script. Let us know if you have any further issues.

View solution in original post

4 REPLIES 4

avatar
Super Collaborator

Seems like you have downloaded tar.gz file of HDF but have not extracted it. Try running this command after SCP step

tar xvf /root/HDF-2.0.0.0-579.tar.gz

After this, run the jdk install script. Let us know if you have any further issues.

avatar

Thank you!!! its now working.

But Nifi is not showing in sandbox services.

avatar
Super Collaborator

@prabhavathi Muthusenapathy, it is because that Ambari is not managing NiFi, you have installed it on your own. But Nifi is still there, you can start/stop it, view its logs and libraries under /root/HDF-2.0.0.0/ from the terminal.

avatar
Master Mentor

@prabhavathi Muthusenapathy

Welcome on board !!!!! The recently released HDF 2.0 or Nifi is a game changer and I think you should start from a good base. Deployment of HDF 2.0 is now provisoned by Ambari. Grab this Document and proceed. Take the full advantage of integration with Ranger,SSL etc .......

CAUTION You should not install HDF 2.0 on an existing Ambari managed HDP node or cluster

Here are 3 more sites that will walk you through the different setups ....why not use blueprints ...

link1

link2

Link3

Hope that helps