Submit
Path:
~
/
/
usr
/
lib
/
python2.7
/
site-packages
/
boto
/
emr
/
File Content:
step.pyo
� �Wc @ s� d d l m Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( i����( t sixt Stepc B s) e Z d Z d � Z d � Z d � Z RS( s! Jobflow Step base class c C s t � � d S( s= :rtype: str :return: URI to the jar N( t NotImplemented( t self( ( s1 /usr/lib/python2.7/site-packages/boto/emr/step.pyt jar s c C s t � � d S( sS :rtype: list(str) :return: List of arguments for the step N( R ( R ( ( s1 /usr/lib/python2.7/site-packages/boto/emr/step.pyt args% s c C s t � � d S( sB :rtype: str :return: The main class name N( R ( R ( ( s1 /usr/lib/python2.7/site-packages/boto/emr/step.pyt main_class, s ( t __name__t __module__t __doc__R R R ( ( ( s1 /usr/lib/python2.7/site-packages/boto/emr/step.pyR s t JarStepc B s; e Z d Z d d d d � Z d � Z d � Z d � Z RS( s Custom jar step t TERMINATE_JOB_FLOWc C sO | | _ | | _ | | _ | | _ t | t j � rB | g } n | | _ d S( s A elastic mapreduce step that executes a jar :type name: str :param name: The name of the step :type jar: str :param jar: S3 URI to the Jar file :type main_class: str :param main_class: The class to execute in the jar :type action_on_failure: str :param action_on_failure: An action, defined in the EMR docs to take on failure. :type step_args: list(str) :param step_args: A list of arguments to pass to the step N( t namet _jart _main_classt action_on_failuret isinstanceR t string_typest step_args( R R R R R R ( ( s1 /usr/lib/python2.7/site-packages/boto/emr/step.pyt __init__8 s c C s | j S( N( R ( R ( ( s1 /usr/lib/python2.7/site-packages/boto/emr/step.pyR S s c C s&