Re: How to use OtherAction?

2011-06-03 Thread Tom White
I've opened https://issues.apache.org/jira/browse/WHIRR-324 for the work on core that is needed to expose this. Tom On Thu, Jun 2, 2011 at 3:21 PM, John Conwell wrote: > I get that its not used.  But is there some way I can "hook it up" so that I > can invoke it to execute shell scripts on runni

Re: How to use OtherAction?

2011-06-02 Thread John Conwell
I get that its not used. But is there some way I can "hook it up" so that I can invoke it to execute shell scripts on running clusters? On Thu, Jun 2, 2011 at 3:12 PM, Tom White wrote: > On Thu, Jun 2, 2011 at 3:06 PM, Andrei Savu wrote: > > I understand. Tom should be able to tell us more abo

Re: How to use OtherAction?

2011-06-02 Thread Tom White
On Thu, Jun 2, 2011 at 3:06 PM, Andrei Savu wrote: > I understand. Tom should be able to tell us more about the intended > usage scenario for OtherAction. The "other action" call was just to cover the case if new events were added and not explicitly exposed in ClusterActionHandlerSupport. It's no

Re: How to use OtherAction?

2011-06-02 Thread John Conwell
Yea, thats exactly what I'm looking for. Basically, I'd like to dynamically create a shell script and execute it at any time, on any node in any cluster :-) On Thu, Jun 2, 2011 at 3:06 PM, Andrei Savu wrote: > I understand. Tom should be able to tell us more about the intended > usage scenario

Re: How to use OtherAction?

2011-06-02 Thread Andrei Savu
I understand. Tom should be able to tell us more about the intended usage scenario for OtherAction. I just want to add that in 0.5.0 we've added support for remote script execution to the CLI: https://issues.apache.org/jira/browse/WHIRR-173 ... and I believe what you need is a similar mechanism a

Re: How to use OtherAction?

2011-06-02 Thread John Conwell
Well, the reason I want to know is two fold. First, I'm using the whirr core API to spin up and provision multiple clusters. But on one of my clusters, I'd need to push out a shell script to execute after the configure action happens. Basically, my code needs to generate a bunch of "stuff", whic

Re: How to use OtherAction?

2011-06-02 Thread Andrei Savu
What's you use case? Maybe there is another way. As far as I know no service is using OtherAction event. -- Andrei Savu / andreisavu.ro On Fri, Jun 3, 2011 at 12:46 AM, John Conwell wrote: > In looking at the ClusterActionHandlerSupport, I notice the before/after > OtherAction event.  Is this f

How to use OtherAction?

2011-06-02 Thread John Conwell
In looking at the ClusterActionHandlerSupport, I notice the before/after OtherAction event. Is this functional? How can I trigger this event? -- Thanks, John C