Created on 03-16-2016 02:25 PM - edited 09-16-2022 03:09 AM
I've begun the HDP Migration Lab, and the very first instruction (after logging into the VM as root, is to ssh into node1) fails and returns this error message: ssh:connect to host node1 port 22: No route to host. The documented instructions (in Installing HDP) seem to be missing one or more critical preceeding instructions.
In the /etc/hosts file, node1 has the IP address 172.17.0.5. After installing nmap, and running 'nmap -sS -F 172.17.0.5' the remitted message states that 'Host seems down'. And 'nmap -Pn 172.17.0.5' remits the message that '0 hosts up'. These commands appear to indicate that node1 (docker container) is not running.
In the root home directory, there is an install_course.sh script. Thinking that running this script is the missing initial instruction, I ran that script, but it failed with the following error message: Usage: install_course.sh <course_id>. What value must be assigned to course_id in order for that script to execute successfully?
Created 03-17-2016 08:42 PM
I guess you got the wrong setup guide. Here is the right setup guide:
BTW, it is a pretty old course based on HDP2.1. It is a subset of main HDP admin course. I would recommend you, to try latest HDP Admin course instead.
Thanks,
Manish
Created 03-16-2016 02:29 PM
The documented instructions are not in 'Installing HDP' but in the 'Download Vm' guide.
Created 03-16-2016 04:00 PM
Can you check whether you have following scripts on your ubuntu VM:
/root/.sys/fix_network.sh
/root/.sys/admin_course.sh
If you find them then please execute them in the same order. It should fix the issue.
Created 03-16-2016 07:49 PM
@Charles Clifford can you please provide a link to the HDP Migration Lab? Which VM are you using (2.4 Sandbox)?
Created 03-16-2016 10:11 PM
Rafeal, all links to all self-paced lectures and labs for the HDP Admin training are found within this URL
This is the URL to the 'Download VM' lecture, which contains the installation setup suite of instructions
The installation instructions are the preliminary tasks which must be completed successfully prior to starting the HDP Migration Lab.
The URL for downloading the VM is
Created 03-16-2016 10:03 PM
There is no such file /root/.sys/fix_network.sh, nor /root/.sys/admin_course.sh on the VM, nor does /root/.sys exist.
The /root/ directory does contain an install_course.sh <course_id>, which requires a value assigned to the course_id input parameter in order to execute successfully. The value of course_id is likely the identity of the repository from GitHub which contains the commands to build the classroom lab. The 'Download VM' guide makes not mention of this script nor the course_id.
There is this script /root/scripts/admin_course.sh and when it is executed it fails after attempting to start node1. The error messages are:
Unable to find image 'hwx/ambari_server' locally
.... Invalid namespace name (hwx), ....
Error: No such image or container: node1
Apparently, the script can not find the docker/container files it is looking for, and so is unable to start nodes 1-5. The /root/dockerfiles directory contains sub-directories specific to various types of nodes (ambari_server_node, hdp_node, etc.).
The /root/hwx directory exists, but it is empty.
Created 03-16-2016 10:08 PM
Can you provide me the link to the setup guide or if you could attach the setup guide here?
Created 03-16-2016 10:25 PM
All links to all self-paced lectures and labs for the HDP Admin training are found within this URL
This is the URL to the 'Download VM' lecture, which contains the installation setup suite of instructions
It is not possible to download the lecture, but to review that installation instructions, please see below. My progress stalls at step 9.2 Installation Steps
| |||||||||||
|
Thanks,
Charles
Created 03-17-2016 08:42 PM
I guess you got the wrong setup guide. Here is the right setup guide:
BTW, it is a pretty old course based on HDP2.1. It is a subset of main HDP admin course. I would recommend you, to try latest HDP Admin course instead.
Thanks,
Manish
Created 03-18-2016 03:30 PM
Thanks for your feedback. I've downloaded the guide you have recommended and I've downloaded the correct VM. The ssh node1 command completes successfully using the correct VM.
BTW - the HDP Admin course which I am engaging is the only version of the course provided at Hortonworks partners portal. As such, I do not have discretion in choosing which version of the Admin course to engage. If the latest HDP Admin course were available then I'd certainly adopt your recommendation. Perhaps the disparity between the current HDP course content and the HDP course content available through the partner portal will be rectified sometime soon.