description = "ZooKeeper" version = "1.0" [actions.install] type = "sequence" [[actions.install.commands]] component = "ZOOKEEPER_CLIENT" command = "INSTALL" [[actions.install.commands]] component = "ZOOKEEPER_SERVER" command = "INSTALL" [actions.start] type = "sequence" [[actions.start.commands]] component = "ZOOKEEPER_CLIENT" command = "INSTALL" [[actions.start.commands]] component = "ZOOKEEPER_SERVER" command = "START" [actions.stop] type = "sequence" [[actions.stop.commands]] component = "ZOOKEEPER_SERVER" command = "STOP" [config.ssh-key] type = "string" default = "TItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAA" [config."zoo.cfg"."purge.Interval"] type = "integer" default = 24 min = 2 max = 48 [config."zoo.cfg".dataDir] type = "string" default = "/hadoop/zookeeper" [config."zoo.cfg".port] type = "option" [config."zoo.cfg".port.option] "http" = 80 "https" = 443 [components.ZOOKEEPER_SERVER] playbook = "run_agent_command.yml" log_files = ["remote"] [components.ZOOKEEPER_SERVER.commands.START] playbook = "run_agent_command.yml" log_files = ["remote"] [components.ZOOKEEPER_SERVER.config] folder = "stacks/ADH/1.0/services/ZOOKEEPER/package" script = "scripts/zookeeper_server.py" packages = ["zookeeper"] [components.ZOOKEEPER_CLIENT] playbook = "run_agent_command.yml" log_files = ["remote"] hostgroup = "ZOOKEEPER.ZOOKEEPER_SERVER" [components.ZOOKEEPER_CLIENT.config] folder = "stacks/ADH/1.0/services/ZOOKEEPER/package" script = "scripts/zookeeper_client.py" packages = ["zookeeper"]