bigdata-dev team mailing list archive
-
bigdata-dev team
-
Mailing list archive
-
Message #00172
[Merge] lp:~bigdata-dev/charms/trusty/apache-hadoop-client/status-removed into lp:~bigdata-dev/charms/trusty/apache-hadoop-client/trunk
Cory Johns has proposed merging lp:~bigdata-dev/charms/trusty/apache-hadoop-client/status-removed into lp:~bigdata-dev/charms/trusty/apache-hadoop-client/trunk.
Requested reviews:
Juju Big Data Development (bigdata-dev)
For more details, see:
https://code.launchpad.net/~bigdata-dev/charms/trusty/apache-hadoop-client/status-removed/+merge/267593
Fixed status reporting not being accurate when relations were removed
--
Your team Juju Big Data Development is requested to review the proposed merge of lp:~bigdata-dev/charms/trusty/apache-hadoop-client/status-removed into lp:~bigdata-dev/charms/trusty/apache-hadoop-client/trunk.
=== modified file 'hooks/hadoop-plugin-relation-changed'
--- hooks/hadoop-plugin-relation-changed 2015-05-11 22:25:12 +0000
+++ hooks/hadoop-plugin-relation-changed 2015-08-10 23:05:47 +0000
@@ -1,4 +1,6 @@
#!/bin/bash
if [[ "$(relation-get hdfs-ready)" == "True" ]]; then
hooks/status-set active "Ready to run mapreduce jobs"
+else
+ hooks/status-set waiting "Waiting for Hadoop to be ready"
fi
=== added file 'hooks/hadoop-plugin-relation-departed'
--- hooks/hadoop-plugin-relation-departed 1970-01-01 00:00:00 +0000
+++ hooks/hadoop-plugin-relation-departed 2015-08-10 23:05:47 +0000
@@ -0,0 +1,2 @@
+#!/bin/bash
+hooks/status-set blocked "Please add relation to apache-hadoop-plugin"
Follow ups