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.

Ubuntu 18.04 and Ambari Wizard Error Cannot register host with not supported os type

Highlighted

Ubuntu 18.04 and Ambari Wizard Error Cannot register host with not supported os type

New Contributor

Hello,


I wanted to install HDP with using Ambari but unfortunately at the "Confirm hosts" step I could not register my nodes due to following exception:

Exception: Registration failed due to: Cannot register host with not supported os type, hostname=xxxx, serverOsType=ubuntu18, agentOsType=ubuntu18

I know that the official support matrix guarantees only support for Ubuntu 16.04. But it is still possible to set up for 18.04?

Or is there a workaround?

2 REPLIES 2

Re: Ubuntu 18.04 and Ambari Wizard Error Cannot register host with not supported os type

Super Mentor

@Andreas Kühnert

Ubuntu 18 is not in the Supported Operating System list of Ambari hence there are no mapping of ubuntu18 yet:

https://supportmatrix.hortonworks.com/

.

This is because the "os_family.json" file does not include the version "18" for "ubuntu".
https://github.com/apache/ambari/blob/release-2.7.1/ambari-common/src/main/python/ambari_commons/res...


Following are the most probable paths where you can find this file on Ambari Server Host as well as on Ambari Agent hosts.

/usr/lib/ambari-server/lib/ambari_commons/resources/os_family.json
AND
/usr/lib/ambari-agent/lib/ambari_commons/resources/os_family.json
/usr/lib/python2.6/site-packages/resource_monitoring/ambari_commons/resources/os_family.json
/var/lib/ambari-agent/tmp/ambari_commons/resources/os_family.json

.

Re: Ubuntu 18.04 and Ambari Wizard Error Cannot register host with not supported os type

Super Mentor

@Andreas Kühnert

A Similar JIRA request was raised recently to ad support for "Amazon2017" and following is the way it was implemented: AMBARI-20716

https://github.com/apache/ambari/commit/5377e66448aea708d42751704e69bb15418c5a3e#diff-f07d6f1d952e21...