pndaproject / pnda-heat-templates

Resources for launching PNDA on Openstack
Other
2 stars 26 forks source link

Fix #137 Hostname issue in mgr node #138

Closed AbhilashS-MapleLabs closed 6 years ago

AbhilashS-MapleLabs commented 6 years ago

Problem Statement:

Fix #137 : Hadoop installation failed as execution failed due to "java illegal argument hostname".

Analysis:

Mgr node template in pnda-heat-templates provide hostname in /etc/hosts as "%stackname%-hadoop-mgr1", whereas in platform-salt templates we see the hadoop name node as "%(cluster_name)s-hadoop-mgr-1". This causes hostname name resolution failure.

Solution:

Fix : Change the name node from "%stackname%-hadoop-mgr1" to "%stackname%-hadoop-mgr-1" in pnda flavor templates.

Tests:

  1. Deploy PNDA for PICO and STANDARD flavours for Ubuntu CDH & HDP.
  2. Deploy PNDA for PICO and STANDARD flavours for Rhel CDH & HDP.