Merge lp:~bigdata-dev/charms/trusty/apache-zeppelin/trunk into lp:charms/trusty/apache-zeppelin

Proposed by Kevin W Monroe
Status: Merged
Merged at revision: 17
Proposed branch: lp:~bigdata-dev/charms/trusty/apache-zeppelin/trunk
Merge into: lp:charms/trusty/apache-zeppelin
Diff against target: 71 lines (+16/-15)
3 files modified
README.md (+7/-7)
hooks/callbacks.py (+8/-7)
resources.yaml (+1/-1)
To merge this branch: bzr merge lp:~bigdata-dev/charms/trusty/apache-zeppelin/trunk
Reviewer Review Type Date Requested Status
Kevin W Monroe Approve
Review via email: mp+268675@code.launchpad.net
To post a comment you must log in.
27. By Cory Johns

Fixed permissions on test_dist_config.py

Revision history for this message
Kevin W Monroe (kwmonroe) wrote :

Realtime syslog analytics bundle test looked good. Merged.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'README.md'
--- README.md 2015-07-24 16:38:17 +0000
+++ README.md 2015-08-21 21:52:12 +0000
@@ -14,15 +14,15 @@
1414
15## Usage15## Usage
1616
17This charm leverages our pluggable Hadoop model with the `hadoop-plugin`17This is a subordinate charm that requires the `apache-spark` interface. This
18interface. This means that you will need to deploy a base Apache Hadoop cluster18means that you will need to deploy a base Apache Spark cluster to use
19to run Spark. The suggested deployment method is to use the19Zeppelin. An easy way to deploy the recommended environment is to use the
20[apache-hadoop-spark-zeppelin](https://jujucharms.com/u/bigdata-dev/apache-hadoop-spark-zeppelin/)20[apache-hadoop-spark-zeppelin](https://jujucharms.com/apache-hadoop-spark-zeppelin)
21bundle. This will deploy the Apache Hadoop platform with a single Apache Spark21bundle. This will deploy the Apache Hadoop platform with an Apache Spark +
22unit that communicates with the cluster by relating to the22Zeppelin unit that communicates with the cluster by relating to the
23`apache-hadoop-plugin` subordinate charm:23`apache-hadoop-plugin` subordinate charm:
2424
25 juju-quickstart u/bigdata-dev/apache-hadoop-spark-zeppelin25 juju-quickstart apache-hadoop-spark-zeppelin
2626
27Alternatively, you may manually deploy the recommended environment as follows:27Alternatively, you may manually deploy the recommended environment as follows:
2828
2929
=== modified file 'hooks/callbacks.py'
--- hooks/callbacks.py 2015-07-24 16:38:17 +0000
+++ hooks/callbacks.py 2015-08-21 21:52:12 +0000
@@ -64,17 +64,18 @@
6464
65 def setup_zeppelin_config(self):65 def setup_zeppelin_config(self):
66 '''66 '''
67 copy Zeppelin's default configuration files to zeppelin_conf property defined67 copy the default configuration files to zeppelin_conf property
68 in dist.yaml68 defined in dist.yaml
69 '''69 '''
70 conf_dir = self.dist_config.path('zeppelin') / 'conf'70 default_conf = self.dist_config.path('zeppelin') / 'conf'
71 self.dist_config.path('zeppelin_conf').rmtree_p()71 zeppelin_conf = self.dist_config.path('zeppelin_conf')
72 conf_dir.copytree(self.dist_config.path('zeppelin_conf'))72 zeppelin_conf.rmtree_p()
73 default_conf.copytree(zeppelin_conf)
73 # Now remove the conf included in the tarball and symlink our real conf74 # Now remove the conf included in the tarball and symlink our real conf
74 # dir. we've seen issues where zepp doesn't honor ZEPPELIN_CONF_DIR75 # dir. we've seen issues where zepp doesn't honor ZEPPELIN_CONF_DIR
75 # and instead looks for config in ZEPPELIN_HOME/conf.76 # and instead looks for config in ZEPPELIN_HOME/conf.
76 conf_dir.rmtree_p()77 default_conf.rmtree_p()
77 self.dist_config.path('zeppelin_conf').symlink(conf_dir)78 zeppelin_conf.symlink(default_conf)
7879
79 zeppelin_env = self.dist_config.path('zeppelin_conf') / 'zeppelin-env.sh'80 zeppelin_env = self.dist_config.path('zeppelin_conf') / 'zeppelin-env.sh'
80 if not zeppelin_env.exists():81 if not zeppelin_env.exists():
8182
=== modified file 'resources.yaml'
--- resources.yaml 2015-07-24 16:38:17 +0000
+++ resources.yaml 2015-08-21 21:52:12 +0000
@@ -4,7 +4,7 @@
4 pathlib:4 pathlib:
5 pypi: path.py>=7.05 pypi: path.py>=7.0
6 jujubigdata:6 jujubigdata:
7 pypi: jujubigdata>=2.1.0,<3.0.07 pypi: jujubigdata>=4.0.0,<5.0.0
8optional_resources:8optional_resources:
9 zeppelin-ppc64le:9 zeppelin-ppc64le:
10 url: https://git.launchpad.net/bigdata-data/plain/apache/ppc64le/zeppelin-0.5.0-SNAPSHOT.tar.gz?id=c34a21c939f5fce9ab89b95d65fe2df50e7bbab010 url: https://git.launchpad.net/bigdata-data/plain/apache/ppc64le/zeppelin-0.5.0-SNAPSHOT.tar.gz?id=c34a21c939f5fce9ab89b95d65fe2df50e7bbab0
1111
=== modified file 'tests/remote/test_dist_config.py' (properties changed: -x to +x)

Subscribers

People subscribed via source and target branches