Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HWP Registration of Hosts Failing

Highlighted

HWP Registration of Hosts Failing

Rising Star

Hello,

I am trying to setup a cluster of HDP using Ambari on AWS. I have tried using HDP 2.6.5.0 and 2.6.4.0

In both cases I get an error

INFO 2018-05-26 15:14:03,271 Controller.py:170 - Registering with ip-172-31-45-101.us-west-2.compute.internal (172.31.45.101) (agent=\'{"hardwareProfile": {"kernel": "Linux", "domain": "us-west-2.compute.internal", "physicalprocessorcount": 2, "kernelrelease": "4.14.33-51.37.amzn1.x86_64", "uptime_days": "0", "memorytotal": 8170572, "swapfree": "0.00 GB", "memorysize": 8170572, "osfamily": "redhat", "swapsize": "0.00 GB", "processorcount": 2, "netmask": "255.255.240.0", "timezone": "UTC", "hardwareisa": "x86_64", "memoryfree": 4256940, "operatingsystem": "amazon", "kernelmajversion": "4.14", "kernelversion": "4.14.33", "macaddress": "06:C2:18:6B:CE:E6", "operatingsystemrelease": "2018.03", "ipaddress": "172.31.45.101", "hostname": "ip-172-31-45-101", "uptime_hours": "1", "fqdn": "ip-172-31-45-101.us-west-2.compute.internal", "id": "root", "architecture": "x86_64", "selinux": false, "mounts": [{"available": "4074696", "used": "56", "percent": "1%", "device": "devtmpfs", "mountpoint": "/dev", "type": "devtmpfs", "size": "4074752"}, {"available": "37499988", "used": "3551552", "percent": "9%", "device": "/dev/xvda1", "mountpoint": "/", "type": "ext4", "size": "41151788"}], "hardwaremodel": "x86_64", "uptime_seconds": "5676", "interfaces": "eth0,lo"}, "currentPingPort": 8670, "prefix": "/var/lib/ambari-agent/data", "agentVersion": "2.6.2.0", "agentEnv": {"transparentHugePage": "", "hostHealth": {"agentTimeStampAtReporting": 1527347643270, "activeJavaProcs": [], "liveServices": [{"status": "Healthy", "name": "ntpd or chronyd", "desc": ""}]}, "reverseLookup": true, "alternatives": [], "hasUnlimitedJcePolicy": null, "umask": "18", "firewallName": "iptables", "stackFoldersAndFiles": [], "existingUsers": [], "firewallRunning": false}, "timestamp": 1527347643228, "hostname": "ip-172-31-45-101.us-west-2.compute.internal", "responseId": -1, "publicHostname": "ec2-35-160-48-195.us-west-2.compute.amazonaws.com"}\')
INFO 2018-05-26 15:14:03,272 NetUtil.py:70 - Connecting to https://ip-172-31-45-101.us-west-2.compute.internal:8440/connection_info
INFO 2018-05-26 15:14:03,327 security.py:93 - SSL Connect being called.. connecting to the server
INFO 2018-05-26 15:14:03,380 security.py:60 - SSL connection established. Two-way SSL authentication is turned off on the server.
ERROR 2018-05-26 15:14:03,383 Controller.py:190 - Cannot register host with not supported os type, hostname=ip-172-31-45-101.us-west-2.compute.internal, serverOsType=amazon2018, agentOsType=amazon2018
INFO 2018-05-26 15:14:03,383 Controller.py:516 - Registration response from ip-172-31-45-101.us-west-2.compute.internal was FAILED
INFO 2018-05-26 15:14:03,383 Controller.py:531 - Registration response from %s didn\'t contain \'response\' as a key

I googled and found this issue.

https://issues.apache.org/jira/browse/AMBARI-21409?attachmentOrder=asc

Is there no way to do the installation on the Amazon Linux AMI?

1 REPLY 1

Re: HWP Registration of Hosts Failing

Super Mentor

@Knows NotMuch

ERROR 2018-05-26 15:14:03,383 Controller.py:190 - Cannot register host with not supported os type, hostname=ip-172-31-45-101.us-west-2.compute.internal, serverOsType=amazon2018, agentOsType=amazon2018

"amazon2018" is not yet tested or implemented as supported agent os type / serverOstype yet.

The most recent one i can see in amazon2017 a recent issue is fixed with amazon2017 as described in

https://issues.apache.org/jira/browse/AMBARI-23219 (ambari 2.7.0)

So i guess you will need to wait for some more time.

Don't have an account?
Coming from Hortonworks? Activate your account here