Support Questions

Find answers, ask questions, and share your expertise

Ubuntu 16.04 compatible with Ambari

avatar
Contributor

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

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 NetUtil.py:60 - Connecting to https://salvob1:8440/connection_infoINFO 2016-05-01 01:01:04,165 security.py:99 - SSL Connect being called.. connecting to the serverINFO 2016-05-01 01:01:04,792 security.py:60 - SSL connection established. Two-way SSL authentication is turned off on the server.ERROR 2016-05-01 01:01:05,197 Controller.py:165 - Cannot register host with not supported os type, hostname=salvob2, serverOsType=ubuntu16, agentOsType=ubuntu16INFO 2016-05-01 01:01:05,199 Controller.py:394 - Registration response from salvob1 was FAILED

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

1 ACCEPTED SOLUTION

avatar
Contributor

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

View solution in original post

11 REPLIES 11

avatar
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?

avatar

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.