Support Questions

Find answers, ask questions, and share your expertise
Welcome to the upgraded Community! Read this blog to see What’s New!

Ubuntu 16.04 compatible with Ambari


I tried to install Ambari into 16.04 Lubuntu. The ambari version was

While registering with the UI wizard, an Ambari agent… the following error occurred from: /var/log/ambari-agent/ambari-agent.log

INFO 2016-05-01 01:01:03,673 - Connecting to https://salvob1:8440/connection_infoINFO 2016-05-01 01:01:04,165 - SSL Connect being called.. connecting to the serverINFO 2016-05-01 01:01:04,792 - SSL connection established. Two-way SSL authentication is turned off on the server.ERROR 2016-05-01 01:01:05,197 - Cannot register host with not supported os type, hostname=salvob2, serverOsType=ubuntu16, agentOsType=ubuntu16INFO 2016-05-01 01:01:05,199 - Registration response from salvob1 was FAILED

I wonder if and when is gonna be available a fix for this



No testing or certification has been done with Ubuntu 16. We currently certify Ubuntu 12 and 14 with Ambari.

View solution in original post



16.04 was only released on 21st of this month. OS level support requires a lot of testing. While workarounds might come sooner, official support will take some time. ( I don't have the any timeline for this if that is what you are looking for)


No testing or certification has been done with Ubuntu 16. We currently certify Ubuntu 12 and 14 with Ambari.

New Contributor

any workarounds for this?

New Contributor

Ran into the same problem. I will need to do a fresh installation on my VM's using 14.04. It will be good to know when 16.04 is compartible.

New Contributor

I found a workaround only for client nodes, after install ambari-agent manually, stop the ambari-agent, change the python file /usr/lib/python2.6/site-packages/ambari_agent/ like this:

# Returns the OS name
  def getKernel(self):
    #return platform.system()
    return "ubuntu14"

# Returns the OS version
  def getOperatingSystemRelease(self):
    #return OSCheck.get_os_version()
    return "14.04"

delete the python file /usr/lib/python2.6/site-packages/ambari_agent/Facter.pyc and restart the ambari-agent

New Contributor

This hack works like a charm! Thank you!


Hi all,

I have been setting up to install Ambari on Ubuntu 16, is it compatible with Ambari yet?


New Contributor

Hi All,

It has been 9 months since this thread was last active, but it looks like there still is not support for v16. Hortonworks folks, can provide any guidance on roadmap or timing for this support? Will it come as a future release of HDP 5.x, or most likely not until 6.x? Any estimated timelines or milestones are helpful for infrastructure and migration planning and the associated budget cycles.




9 months have now passed since this thread was posted and v16 was released. Any idea when support will be coming? Anything from the roadmap or timing to share would really help with infrastructure planning. Thanks.

New Contributor

Did any one was able to manage installation of HDP 2.5.3 on Ubuntu 16.04 LTS?

@Hortonworks Any progress on porting HDP to Ubuntu 16.04 LTS or Is the support for Ubuntu 16 on roadmap?

New Contributor

I managed to install and start Ambari and HDP 2.5.3 complete (all components except Smartsense) on Ubuntu 16.04.2 without Kerberos, SSL and LDAP configurations yet.

It took some tweaking but finally I have no alerts at all. And all UIs are working, and all Service Checks are OK. The following has to be done in advance before starting the installation of HDP:

In the files:


Add the the alias ubuntu16:

    "aliases": {
      "amazon2015": "amazon6",
      "amazon2016": "amazon6",
      "suse11sp3": "suse11",
      "opensuse 42": "sles12",
      "ubuntu16": "ubuntu14"

I added also "opensuse 42" because I tried an install on Opensuse Leap 42 (equivalend of SLES12), but that's another history...

I also removed 16 from the ubuntu versions:

      "ubuntu": {
        "distro": [
        "versions": [

In this way ubuntu16 is treated as an alias of ubuntu14.

During the configuration and installation of HDP 2.5.3, Ambari will not complain anymore about the OS version.

In one single service it was necessary to modify something due to a new version of a specific deb package.

Go to the file:


Replace "libsnappy1*" with "libsnappy1v5*" Afterwards everything was OK, except for OS-independent known issues.