| OLD | NEW |
| 1 .. _emr_tut: | 1 .. _emr_tut: |
| 2 | 2 |
| 3 ===================================================== | 3 ===================================================== |
| 4 An Introduction to boto's Elastic Mapreduce interface | 4 An Introduction to boto's Elastic Mapreduce interface |
| 5 ===================================================== | 5 ===================================================== |
| 6 | 6 |
| 7 This tutorial focuses on the boto interface to Elastic Mapreduce from | 7 This tutorial focuses on the boto interface to Elastic Mapreduce from |
| 8 Amazon Web Services. This tutorial assumes that you have already | 8 Amazon Web Services. This tutorial assumes that you have already |
| 9 downloaded and installed boto. | 9 downloaded and installed boto. |
| 10 | 10 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 The run_jobflow method has a number of important parameters that are worth inves
tigating. They include parameters to change the number and type of EC2 instance
s on which the jobflow is executed, set a SSH key for manual debugging and enabl
e AWS console debugging. | 99 The run_jobflow method has a number of important parameters that are worth inves
tigating. They include parameters to change the number and type of EC2 instance
s on which the jobflow is executed, set a SSH key for manual debugging and enabl
e AWS console debugging. |
| 100 | 100 |
| 101 Terminating JobFlows | 101 Terminating JobFlows |
| 102 -------------------- | 102 -------------------- |
| 103 By default when all the steps of a jobflow have finished or failed the jobflow t
erminates. However, if you set the keep_alive parameter to True or just want to
halt the execution of a jobflow early you can terminate a jobflow by: | 103 By default when all the steps of a jobflow have finished or failed the jobflow t
erminates. However, if you set the keep_alive parameter to True or just want to
halt the execution of a jobflow early you can terminate a jobflow by: |
| 104 | 104 |
| 105 >>> import boto | 105 >>> import boto |
| 106 >>> conn = boto.connect_emr() | 106 >>> conn = boto.connect_emr() |
| 107 >>> conn.terminate_jobflow('<jobflow id>') | 107 >>> conn.terminate_jobflow('<jobflow id>') |
| 108 | 108 |
| OLD | NEW |