Support Questions

Find answers, ask questions, and share your expertise

Help with HDF install/setup

avatar
Contributor

Hi, I'm new to Hortonworks and HDF, really excited to use the product, aiming to use nifi.

Went through the standard server setup here: https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.1.2/bk_installing-hdf/content/ch_install-ambari...

I got my ubuntu 16 server running, and logged into ambari. I launched the install wizard, but i'm stuck on the cluster install/setup (https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.1.2/bk_installing-hdf/content/ch_install-hdf.html)

i just put 'localhost' in my Target hosts, also tried localhost.localdomain but same error below, hosts file looks like this:

127.0.0.1 localhost

# The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback

fe00::0 ip6-localnet

ff00::0 ip6-mcastprefix

ff02::1 ip6-allnodes

ff02::2 ip6-allrouters

ff02::3 ip6-allhosts

copied the id_rsa key from server to a local file so i could add to Host registration information, also made sure i did the ssh keygen and added to authorized keys.

Changed my user account to ubuntu.

But when i run the install it fails with a bunch of "Connection to localhost closed" messages:

==========================
Creating target directory...
==========================

Command start time 2018-07-09 16:30:08

Connection to localhost closed.
SSH command execution finished
host=localhost, exitcode=0
Command end time 2018-07-09 16:30:08

==========================
Copying ambari sudo script...
==========================

Command start time 2018-07-09 16:30:08

scp /var/lib/ambari-server/ambari-sudo.sh
host=localhost, exitcode=0
Command end time 2018-07-09 16:30:09

==========================
Copying common functions script...
==========================

Command start time 2018-07-09 16:30:09

scp /usr/lib/python2.6/site-packages/ambari_commons
host=localhost, exitcode=0
Command end time 2018-07-09 16:30:09

Must be something in the setup i didn't do right, also not the most adept linux/ubuntu person.

Thanks for any help,

Ron

1 ACCEPTED SOLUTION

avatar
Contributor

ah, i think i figured it out, used the hostname -f command to get the host, and that did the trick, used that as the hostname. on my way now!

View solution in original post

1 REPLY 1

avatar
Contributor

ah, i think i figured it out, used the hostname -f command to get the host, and that did the trick, used that as the hostname. on my way now!