#NEWLINE# def _run_main_command( self , parsed_args , parsed_globals ) : #NEWLINE# #INDENT# steps = [ ] #NEWLINE# self . _check_type ( parsed_args . type ) #NEWLINE# self . _check_unit ( parsed_args . unit ) #NEWLINE# args = self . _build_hbase_schedule_backup_args ( parsed_args ) #NEWLINE# step_config = emrutils . build_step ( jar = constants . HBASE_JAR_PATH , name = constants . HBASE_SCHEDULE_BACKUP_STEP_NAME , action_on_failure = constants . CANCEL_AND_WAIT , args = args ) #NEWLINE# steps . append ( step_config ) #NEWLINE# parameters = { #NEWLINE# #INDENT# 'JobFlowId' : parsed_args . cluster_id , #NEWLINE# 'Steps' : steps , #NEWLINE# #UNINDENT# } #NEWLINE# emrutils . call_and_display_response ( self . _session , 'AddJobFlowSteps' , parameters , parsed_globals ) #NEWLINE# return 0