~x3v947pl/charms/trusty/zeppelin-dh/trunk

« back to all changes in this revision

Viewing changes to hooks/spark-relation-changed

  • Committer: devicehive
  • Date: 2015-09-04 15:06:11 UTC
  • Revision ID: admin@devicehive.com-20150904150611-07olch9firlzm21z
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
set -ux
 
4
 
 
5
sed -i -e 's/\("spark.home": "\).*\(",\)/\1\/opt\/spark\2/' /opt/incubator-zeppelin/conf/interpreter.json
 
6
$CHARM_DIR/hooks/stop
 
7
sleep 3
 
8
$CHARM_DIR/hooks/start