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

Bug #1456364 reported by Kevin W Monroe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charms Collection
New
Undecided
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:

https://github.com/juju-solutions/jujubigdata/blob/master/jujubigdata/handlers.py#L98

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.