Skip to content

Helix Agent document out of sync with code? #905

@jiminoc

Description

@jiminoc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions