need a better hostname when adding apache-hadoop-plugin relation

Bug #1456364 reported by Kevin W Monroe on 2015-05-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charms Collection
Juju Big Data Development

Bug Description

The apache-hadoop-plugin charm calls HadoopBase.install, which calls configure_hosts_file, which sets the unit hostname based on the charm name:

This is unwanted for subordinate charms like the plugin. We would rather this be set to the primary service on that unit (hive-0, pig-0, etc). Perhaps we should check for *plugin*, then set the hostname to the unit on the other side of the hadoop-plugin relation.

This isn't a show stopper, just annoying to be working on a unit named "plugin-x" and not know if you're on hive, pig, etc.

Changed in charms:
assignee: nobody → Juju Big Data Development (bigdata-dev)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers