Re: Execute a cmd via jclouds SshClient that requires sudo privs on VM started by Whirr

2011-06-14 Thread Andrei Savu
You could also try to use computeService.runScriptOnNodesMatching and upload the file using an AppendFile jclouds statement together with the credentials from the cluster spec file. This approach is similar to what RunScriptCommand is doing. -- Andrei Savu / andreisavu.ro On Mon, Jun 13, 2011

hadoop security and ssh proxy

2011-06-14 Thread John Conwell
I get the whole security is a good thing thing, but could someone give me a description as to why when whirr configures hadoop it sets up the ssh proxy to disallow all coms to the data / task nodes except via the name node over the proxy? If I'm running on EC2, wont correctly setting up security

Re: Is Service.launchCluster thread safe?

2011-06-14 Thread John Conwell
So as an FYI, I just tested using the whirr API to start multiple clusters at the same time using Futures, and it (seems to) works great. really cuts down on the time to ramp up a set of clusters (like 4 or more). Yay On Fri, Jun 10, 2011 at 11:38 AM, Andrei Savu savu.and...@gmail.com wrote:

Re: hadoop security and ssh proxy

2011-06-14 Thread Tom White
The proxy is not used for security (which would be better provided by a firewall), but to make the datanode addresses resolve correctly for the client. Without the proxy the datanodes return their internal addresses which are not routable by the client (which runs in an external network

Re: Is Service.launchCluster thread safe?

2011-06-14 Thread Tom White
On Tue, Jun 14, 2011 at 3:46 PM, John Conwell j...@iamjohn.me wrote: So as an FYI, I just tested using the whirr API to start multiple clusters at the same time using Futures, and it (seems to) works great.  really cuts down on the time to ramp up a set of clusters (like 4 or more).  Yay