Changing zookeeper to not use version number
Sahara-image-elements removed zookeeper's version number from the folder name. Storm needs to adapt to that. Depends on the patch from sahara-image-elements #154889 Change-Id: Ibb39a7b10ea590d817e0ca4db8f6cce812c50687 Closes-bug: #1420838
This commit is contained in:
parent
0b01a79877
commit
ea93a789cb
@ -196,7 +196,7 @@ class StormProvider(p.ProvisioningPluginBase):
|
|||||||
'/usr/local/storm/conf/storm.yaml': ng_extra['st_instances']
|
'/usr/local/storm/conf/storm.yaml': ng_extra['st_instances']
|
||||||
}
|
}
|
||||||
files_zk = {
|
files_zk = {
|
||||||
'/opt/zookeeper/zookeeper-3.4.6/conf/zoo.cfg': ng_extra['zk_conf']
|
'/opt/zookeeper/zookeeper/conf/zoo.cfg': ng_extra['zk_conf']
|
||||||
}
|
}
|
||||||
files_supervisor_master = {
|
files_supervisor_master = {
|
||||||
'/etc/supervisor/supervisord.conf': ng_extra['master_sv_conf']
|
'/etc/supervisor/supervisord.conf': ng_extra['master_sv_conf']
|
||||||
|
@ -21,7 +21,7 @@ LOG = logging.getLogger(__name__)
|
|||||||
|
|
||||||
def start_zookeeper(remote):
|
def start_zookeeper(remote):
|
||||||
remote.execute_command("sudo %s %s" % (
|
remote.execute_command("sudo %s %s" % (
|
||||||
"/opt/zookeeper/zookeeper-3.4.6/bin/zkServer.sh",
|
"/opt/zookeeper/zookeeper/bin/zkServer.sh",
|
||||||
"start"))
|
"start"))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user