Merge lp:~bigdata-dev/charms/bundles/apache-core-batch-processing/v4-only into lp:~bigdata-dev/charms/bundles/apache-core-batch-processing/trunk

Proposed by Cory Johns
Status: Merged
Merged at revision: 18
Proposed branch: lp:~bigdata-dev/charms/bundles/apache-core-batch-processing/v4-only
Merge into: lp:~bigdata-dev/charms/bundles/apache-core-batch-processing/trunk
Diff against target: 92 lines (+13/-53)
3 files modified
bundles_v3.yaml (+0/-50)
tests/00-setup (+12/-2)
tests/01-bundle.py (+1/-1)
To merge this branch: bzr merge lp:~bigdata-dev/charms/bundles/apache-core-batch-processing/v4-only
Reviewer Review Type Date Requested Status
amir sanjar (community) Approve
Review via email: mp+271137@code.launchpad.net

Description of the change

Fixes for CWR

To post a comment you must log in.
Revision history for this message
amir sanjar (asanjar) :
review: Approve
Revision history for this message
Andrew McLeod (admcleod) :
Revision history for this message
Andrew McLeod (admcleod) wrote :

^^ Redundant comment diff-line 87

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed file 'bundles_v3.yaml'
2--- bundles_v3.yaml 2015-07-20 20:54:16 +0000
3+++ bundles_v3.yaml 1970-01-01 00:00:00 +0000
4@@ -1,50 +0,0 @@
5-bundle:
6- services:
7- client:
8- charm: cs:~bigdata-dev/trusty/apache-hadoop-client
9- num_units: 1
10- annotations:
11- gui-x: "1300"
12- gui-y: "200"
13- compute-slave:
14- charm: cs:~bigdata-dev/trusty/apache-hadoop-compute-slave
15- num_units: 3
16- annotations:
17- gui-x: "250"
18- gui-y: "200"
19- constraints: mem=4G
20- hdfs-master:
21- charm: cs:~bigdata-dev/trusty/apache-hadoop-hdfs-master
22- num_units: 1
23- annotations:
24- gui-x: "600"
25- gui-y: "350"
26- constraints: mem=8G
27- plugin:
28- charm: cs:~bigdata-dev/trusty/apache-hadoop-plugin
29- annotations:
30- gui-x: "950"
31- gui-y: "200"
32- secondary-namenode:
33- charm: cs:~bigdata-dev/trusty/apache-hadoop-hdfs-secondary
34- num_units: 1
35- annotations:
36- gui-x: "600"
37- gui-y: "600"
38- constraints: mem=8G
39- yarn-master:
40- charm: cs:~bigdata-dev/trusty/apache-hadoop-yarn-master
41- num_units: 1
42- annotations:
43- gui-x: "600"
44- gui-y: "100"
45- constraints: mem=8G
46- series: trusty
47- relations:
48- - [yarn-master, hdfs-master]
49- - [secondary-namenode, hdfs-master]
50- - [compute-slave, yarn-master]
51- - [compute-slave, hdfs-master]
52- - [plugin, yarn-master]
53- - [plugin, hdfs-master]
54- - [client, plugin]
55
56=== modified file 'tests/00-setup'
57--- tests/00-setup 2015-03-04 17:07:52 +0000
58+++ tests/00-setup 2015-09-15 14:35:41 +0000
59@@ -1,8 +1,18 @@
60 #!/bin/bash
61
62+to_install=''
63+
64 if ! dpkg -s amulet &> /dev/null; then
65- echo Installing Amulet...
66 sudo add-apt-repository -y ppa:juju/stable
67 sudo apt-get update
68- sudo apt-get -y install amulet
69+ to_install="$to_install amulet"
70+fi
71+
72+if ! dpkg -s python3-yaml &> /dev/null; then
73+ to_install="$to_install python3-yaml"
74+fi
75+
76+if [[ -n "$to_install" ]]; then
77+ echo Installing $to_install...
78+ sudo apt-get install $to_install
79 fi
80
81=== modified file 'tests/01-bundle.py'
82--- tests/01-bundle.py 2015-07-20 20:54:16 +0000
83+++ tests/01-bundle.py 2015-09-15 14:35:41 +0000
84@@ -13,7 +13,7 @@
85 Base class for tests for Apache Hadoop Bundle.
86 """
87 # have to use the v3 format because that's what amulet supports
88- bundle_file = os.path.join(os.path.dirname(__file__), '..', 'bundles_v3.yaml')
89+ bundle_file = os.path.join(os.path.dirname(__file__), '..', 'bundle.yaml')
90 profile_name = None
91
92 @classmethod

Subscribers

People subscribed via source and target branches

to all changes: