#NEWLINE# def generate_run_scripts_params( args , host , job_name , host_id , instance_id ) : #NEWLINE# #INDENT# job = args . fds_config . jobs [ job_name ] #NEWLINE# supervisor_client = deploy_utils . get_supervisor_client ( host , 'fds' , args . fds_config . cluster . name , job_name , instance_id = instance_id ) #NEWLINE# artifact_and_version = ( 'galaxy-fds-' + args . fds_config . cluster . version ) #NEWLINE# component_dir = '$package_dir' #NEWLINE# jar_dirs = ( '%s/lib/guava-11.0.2.jar:%s/:%s/lib/*' % ( component_dir , component_dir , component_dir ) ) #NEWLINE# log_level = deploy_utils . get_service_log_level ( args , args . fds_config ) #NEWLINE# params = job . get_arguments ( args , args . fds_config . cluster , args . fds_config . jobs , args . fds_config . arguments_dict , job_name , host_id , instance_id ) #NEWLINE# script_dict = { #NEWLINE# #INDENT# 'artifact' : artifact_and_version , #NEWLINE# 'job_name' : job_name , #NEWLINE# 'jar_dirs' : jar_dirs , #NEWLINE# 'run_dir' : supervisor_client . get_run_dir ( ) , #NEWLINE# 'params' : params , #NEWLINE# #UNINDENT# } #NEWLINE# return script_dict