← Back to team overview

bigdata-dev team mailing list archive

[Bug 1456364] [NEW] need a better hostname when adding apache-hadoop-plugin relation

 

Kevin W Monroe (kwmonroe) has assigned this bug to you for Juju Charms Collection:

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.

** Affects: charms
     Importance: Undecided
     Assignee: Juju Big Data Development (bigdata-dev)
         Status: New

-- 
need a better hostname when adding apache-hadoop-plugin relation
https://bugs.launchpad.net/bugs/1456364
You received this bug notification because you are a member of Juju Big Data Development, which is a bug assignee.