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:
Telles Nobrega 2015-02-11 11:51:54 -03:00
parent 0b01a79877
commit ea93a789cb
2 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ class StormProvider(p.ProvisioningPluginBase):
'/usr/local/storm/conf/storm.yaml': ng_extra['st_instances']
}
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 = {
'/etc/supervisor/supervisord.conf': ng_extra['master_sv_conf']

View File

@ -21,7 +21,7 @@ LOG = logging.getLogger(__name__)
def start_zookeeper(remote):
remote.execute_command("sudo %s %s" % (
"/opt/zookeeper/zookeeper-3.4.6/bin/zkServer.sh",
"/opt/zookeeper/zookeeper/bin/zkServer.sh",
"start"))