Net::Amazon::HadoopEC2::SSH - Net::SSH::Perl wrapper for Net::Amazon::HadoopEC2
This module is Net::SSH::Perl wrapper for Net::Amazon::HadoopEC2.
Constructor. Arguments are:
Host to connect to.
Private key file to use with ssh connection.
Maximum count of retry to connect. The default is 5.
Runs command on the master instance via ssh. Returns Net::Amazon::HadoopEC2::SSH::Response instance. This is only wrapper of Net::SSH::Perl. Arguments are:
The command line to pass.
String to pass to STDIN of the command.
Pushes local files to hadoop-ec2 master instance via ssh. Returns true if succeeded. Arguments are:
files to push. Accepts string or arrayref of strings.
Destination of the files.
Gets files on the hadoop-ec2 master instance. Returns true if succeeded. Arguments are:
files to get. String and arrayref of strings is ok.
local path to place the files.
Nobuo Danjou nobuo.danjou@gmail.com
Net::Amazon::HadoopEC2
Net::SSH::Perl
To install Net::Amazon::HadoopEC2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Amazon::HadoopEC2
CPAN shell
perl -MCPAN -e shell install Net::Amazon::HadoopEC2
For more information on module installation, please visit the detailed CPAN module installation guide.