-
Notifications
You must be signed in to change notification settings - Fork 244
Description
I tried following the tutorial for the Helix Agent where it says to use the following command line configuration values to set state changes.
# Specify the script for OFFLINE --> ONLINE /helix-admin.sh --zkSvr localhost:2181 --setConfig CLUSTER clusterName OFFLINE-ONLINE.command="simpleHttpClient.py OFFLINE-ONLINE",OFFLINE-ONLINE.workingDir="/path/to/script", OFFLINE-ONLINE.command.pidfile="/path/to/pidfile"
based on my testing and inspection of the code the working directory parameter seemed to have wanted this instead
OFFLINE-ONLINE.command.workingDir="/path/to/script",
see the added "command" slug in there. Once I added that I was able to get the agent executing the example client python script
reference page:
https://helix.apache.org/0.9.4-docs/tutorial_agent.html