Support Questions
Find answers, ask questions, and share your expertise

Trying to install NiFi on one for my datanode through Ambari , but my installation failed , Any suggestion?

New Contributor

11844-ambari1.png

11845-ambari2.png

I am able to ping my nodes and SSH password-less login is working fine too.

3 REPLIES 3

Re: Trying to install NiFi on one for my datanode through Ambari , but my installation failed , Any suggestion?

Rising Star

If you drill down into the word 'Failed' in the status column, you should get see a more specific error message. What does it say?

Also, your RSA key looks strange to me. Here's an example of an RSA key that's very similar to mine:

-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAw9WR5oDCrSYhqzhjhBzV1SlQ54Pgpl6goScsvInn3uNJqV8E
d1yx2kyXARkfS+lya97UlHKS2DcU/AeX6AfCGPXdhz25j0CgZKM4lzgv7QxXY/mc
nQToRJA4yCLRcde3XiLn5MZCO0f8+czRz0OkSoBav+5MkcbiH3YvLXai4EzZuxu7
G00KP6icU1xdDQX9WSAww0URR8TGgsv1oZHxzMOgV1HuxdymZqs0OD0s2FJH6JkH
mGtqvXAMsbEDRhFqX3xDhgjglUZGGdlt4KLgQwR+Ktkem4FoJHJmJ8hdsHRYRfJc
UvvwOA5owVQPQqftXIcvP777SVSXPpK93BtuQQIDAQABAoIBAQCo6Top1d+UVzJt
K3ryhaiObk+BEQegmDf2KAL3L/+WCPcNJo6EoagpwSvx34hWAqoVjqJO1DACXCg2
ZhpJIP/yZYbI0p2NiNGPXBVAoU79KErsSW0jJgtsr/S58wYyKjzX7kWT1sljtmjl
0RsaqZ44QFOF/nV+u0tolZiFnzFHQp+nJCkXLihsElsgPRoCVcEAEMdm97gxgiCJ
y0cIkWIeHnG4fxPEEThcVPSsGBes7ZvqnubjdVRyw+iCz+rt6gGdGK2OZvJup/tF
ZpZPobm/WkXZZm8kSQjQUspbwCxCAfKhAAyH12R3KDHU5gWMqR4Sj19HsrhxMa+b
lN6nJsJBAoGBAOTAajhDLf3t38PCuzF0/j4M5TLn9TUwqpbEuXOiaFrv2UJGK3BQ
KD3EfGmfV2tagU0afHZ5Y10NQNdEpCcXaRFoGH8CHCAHnFb0kPvzTSU2qmZcTahf
d1yERuFAThmRAkiEXcyR6kqh09rn9i0uEFsX2p8BKiR/G4A17wE1jtwZAoGBANsp
Xj92itzdldruSxqKegMamtCIlEDJi4Pkg39ynQ6oIAoCDofm1Z3V4dn3wk0CqcLL
2j/M35NNHp95TaHdlCDnXY9qKHu+k92YQtN6Ba1+QFrX/r/R5Gfxni8CpNhEt3sU
g2m+j3Ex8JXJpLPesjvRvEP7yA4AQ8PpKF3XAWhpAoGBAN1T1vJM/cj9SU4tsdUu
b3g2HeVdTYGBbuqluRHLB9FE1B8tqYXn6Keq3v2LMJgsX4Lsp5Qx6xPzaNNgFLvG
CODQqTLqJbBP7NKtm0JLrE7fT4vuryzEAcdALRvI7RGLnnvvppnybJB9d3AMk8Iv
GaApuluyUsYxPbiVdoTi/zCxAoGADhoeV2UQUF/tuZWlvYJ1kWeP2KVBLN4LHSSC
FZxRYNUOorY5KyN+UVam3rijhwMJ21/0njBXnonS054hka3JT0iz63uAOV4s85BN
lIAAh4ZdK7tEGObBLfPhItM/ui7Jw6CxSAecAUOeYHUGJRDKVTEMtS8pU0VPFvcU
wt0H2SkCgYEAsPmBYiatI5rDhdpbmOezMFm3RgkgZFpxSPxpbNKF2XuEq4npE6yS
m+eeB670sGNo9AxyEz09+BxMmIg/MPmrPew4/ki00Lv0lNsxyOLWkDvgeDNC0HCd
2dygqZCGGimVIikmgH29yetab6rDLMfD/fZirBOj+PvZpa2r1NrcYy8=
-----END RSA PRIVATE KEY-----

From the Ambari node, you should be able to `ssh localhost`. If you see a message like this:

[root@hadoop01 ~]# ssh localhost
The authenticity of host 'localhost (<no hostip for proxy command>)' can't be established.
ECDSA key fingerprint is 78:42:69:fe:e5:90:22:5c:cb:a8:f7:74:18:9c:be:ab.
Are you sure you want to continue connecting (yes/no)?

... then say "yes" and then retry the installation from Ambari.

Re: Trying to install NiFi on one for my datanode through Ambari , but my installation failed , Any suggestion?

Super Guru
@Rishi Warokar

you need to put your private key from the server where Ambari is installed. Your private key would look like something similar to what Alex has shared.

Re: Trying to install NiFi on one for my datanode through Ambari , but my installation failed , Any suggestion?

Mentor

@Rishi Warokar

What version of Nifi are you installing? Are you installing it using Ambari of an existing HDP cluster? Note you can not install the HDF on a system where HDP is already installed.

Installing a HDF using Ambari

This is an easier way to deploy Nifi as an Ambari service