jiminoc opened a new issue #905: Helix Agent document out of sync with code?
URL: https://github.com/apache/helix/issues/905
 
 
   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
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@helix.apache.org
For additional commands, e-mail: reviews-h...@helix.apache.org

Reply via email to