...
- ssh to belltown
- Create the configuration file for the Elastic Map Reduce command line tool
Code Block ~>cat $USER-credentials.json { "access_id": "YourAccessKeyID", "private_key": "YourSecretAccessKey", "keypair": "SageKeyPair", "key-pair-file": "~/SageKeyPair.pem", "log_uri": "s3n://sagetest-YourUsername/logs/", "region": "us-east-1" }
- Test that you can run it
Code Block ~>/work/platform/bin/elastic-mapreduce-cli/elastic-mapreduce --credentials ~/$USER-credentials.json --help Usage: elastic-mapreduce [options] Creating Job Flows --create Create a new job flow --name NAME The name of the job flow being created --alive Create a job flow that stays running even though it has executed all its steps --with-termination-protection Create a job with termination protection (default is no termination protection) --num-instances NUM Number of instances in the job flow ...
Other useful tools
nano text editor
The nano editor is available on sodo/ballard/belltown/etc... and on the miami cluster. It does not use X windows. If you need a simple text editor and are not familiar with vi or emacs, nano is a good choice and installed by default on many linux systems.
Code Block |
---|
~>ssh ndeflaux@pegasus.ccs.miami.edu
ndeflaux@pegasus.ccs.miami.edu's password:
Last login: Thu May 19 18:59:51 2011 from dhcp149019.fhcrc.org
***********************************************************************
* *
* Welcome to Pegasus Linux Cluster at CCS/University of Miami. *
* *
* ....
* *
***********************************************************************
[ndeflaux@u01 ~]$ nano file.txt
[ndeflaux@u01 ~]$ |