← Back to team overview

bigdata-dev team mailing list archive

[Bug 1490634] [NEW] plugin should "de-register" itself from master /etc/hosts when departing

 

Public bug reported:

1. juju deploy apache-hive hive
2. juju deploy apache-hadoop-plugin plugin
3. juju add-relation hive plugin
4. juju destroy-service hive
5. juju deploy apache-hive hive
6. juju add-relation hive plugin
7. juju ssh hive/0
8. cat /etc/hosts

You'll have an entry from 2 plugin units in /etc/hosts, even though the
first one was killed with step 4.  We should de-register the /etc/hosts
entry from hdfs/yarn master KV unitdata when plugins go away.  This
probably affects compute-slave too.

** Affects: apache-hadoop-plugin (Juju Charms Collection)
     Importance: Undecided
     Assignee: Juju Big Data Development (bigdata-dev)
         Status: New

-- 
You received this bug notification because you are a member of Juju Big
Data Development, which is a bug assignee.
https://bugs.launchpad.net/bugs/1490634

Title:
  plugin should "de-register" itself from master /etc/hosts when
  departing

Status in apache-hadoop-plugin package in Juju Charms Collection:
  New

Bug description:
  1. juju deploy apache-hive hive
  2. juju deploy apache-hadoop-plugin plugin
  3. juju add-relation hive plugin
  4. juju destroy-service hive
  5. juju deploy apache-hive hive
  6. juju add-relation hive plugin
  7. juju ssh hive/0
  8. cat /etc/hosts

  You'll have an entry from 2 plugin units in /etc/hosts, even though
  the first one was killed with step 4.  We should de-register the
  /etc/hosts entry from hdfs/yarn master KV unitdata when plugins go
  away.  This probably affects compute-slave too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/charms/+source/apache-hadoop-plugin/+bug/1490634/+subscriptions