Support Questions
Find answers, ask questions, and share your expertise

Re: Ubuntu 16.04 compatible with Ambari

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?

Re: Ubuntu 16.04 compatible with Ambari

New Contributor

I managed to install and start Ambari 2.4.2.0 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:

/usr/lib/ambari-agent/lib/ambari_commons/resources/os_family.json
/usr/lib/ambari-server/lib/ambari_commons/resources/os_family.json

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": [
          "ubuntu"
        ],
        "versions": [
          12,
          14
        ]
      },

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:

/var/lib/ambari-server/resources/common-services/AMBARI_METRICS/0.1.0/metainfo.xml

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