You could use the Execute resource to run a command. You can find several
other examples in the current code base
Execute(your_command)
ex:
Execute("netstat -an | egrep 8080")
If this doesn't answer your question, then probably i didn't get the
question right, please clarify what service check are you planning to run.
Thanks,
Bhuvnesh Chaudhary
Email: bchau <[email protected]>[email protected]
Desk: +1-650-846-1696 | Mobile: +1-973-906-6976
On Mon, Jan 4, 2016 at 8:50 PM, Jeff Zhang <[email protected]> wrote:
> I want to create service check for spark, but spark don't use hadoop script
> as launch script. I found other component use ExecuteHadoop to launch
> hadoop job to verify the service, I am wondering is there is there any api
> for non-hadoop command ? BTW I check the source code of execute_hadoop.py
> but don't find how it associates with hadoop
>
>
> --
> Best Regards
>
> Jeff Zhang
>