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

Re: trouble reaching whirr hadoop cluster from ec2 instance

2011-06-02 Thread Doug Daniels
Thanks Andrei, but I'm still having the same problem when I replace the ec2-174-129-68-49.compute-1.amazonaws.com with the public IP address. Now I get: ubuntu@domU-12-31-39-00-85-D1:~$ hadoop fs -ls / 11/06/02 14:23:06 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpat

Re: trouble reaching whirr hadoop cluster from ec2 instance

2011-06-02 Thread Andrei Savu
Hi Daniels, Let me see if I understand. You are starting a Hadoop cluster using Whirr 0.4.0 from your local machine and you want to use it from a different ec2 instance running in another security group. The issue you are seeing is probably related to how DNS resolution works inside and outside t