#NEWLINE# def build_custom_jar_step( parsed_step ) : #NEWLINE# #INDENT# name = _apply_default_value ( arg = parsed_step . get ( 'Name' ) , value = constants . DEFAULT_CUSTOM_JAR_STEP_NAME ) #NEWLINE# action_on_failure = _apply_default_value ( arg = parsed_step . get ( 'ActionOnFailure' ) , value = constants . DEFAULT_FAILURE_ACTION ) #NEWLINE# emrutils . check_required_field ( structure = constants . CUSTOM_JAR_STEP_CONFIG , name = 'Jar' , value = parsed_step . get ( 'Jar' ) ) #NEWLINE# return emrutils . build_step ( jar = parsed_step . get ( 'Jar' ) , args = parsed_step . get ( 'Args' ) , name = name , action_on_failure = name , main_class = parsed_step . get ( 'MainClass' ) , properties = emrutils . parse_key_value_string ( parsed_step . get ( 'Properties' ) ) )