parameters: (self, options)
docstring: Copy python script worker.py and user-specified executable
          to specified directory on remote machines
docstring_summary: Copy python script worker.py and user-specified executable
          to specified directory on remote machines
docstring_tokens: Copy python script worker . py and user - specified executable to specified directory on remote machines
function: def __init__(self, options):
          """ Copy python script worker.py and user-specified executable
          to specified directory on remote machines
          """
          CmdTool.__init__(self, options.mapreduce_ssh_port)
          self.options= options
          self.all_socks = []
          self.reduce_socks = None
  
          # copy map-reduce executable and worker script to each machine
          cmd = 'cp %s %s/%s' %(options.local_executable, 
                                options.script_path,
                                options.remote_executable)
          self.run_cmd_and_wait(cmd)
          executable = '%s/%s' %(options.script_path, options.remote_executable)
          file_list = [executable]
          for script in ALL_SCRIPTS:
              local_script = '%s/%s' %(options.script_path, script)
              file_list.append(local_script)
          mesg = 'Copy binary executable and python scripts to machines'
          logging.info(mesg)
          self.dispatch_file(file_list, options.mapreduce_tmp_dir)
          self.run_cmd_and_wait('rm -rf %s' %executable)
function_tokens: def __init__ ( self , options ) : CmdTool . __init__ ( self , options . mapreduce_ssh_port ) self . options = options self . all_socks = [ ] self . reduce_socks = None # copy map-reduce executable and worker script to each machine cmd = 'cp %s %s/%s' % ( options . local_executable , options . script_path , options . remote_executable ) self . run_cmd_and_wait ( cmd ) executable = '%s/%s' % ( options . script_path , options . remote_executable ) file_list = [ executable ] for script in ALL_SCRIPTS : local_script = '%s/%s' % ( options . script_path , script ) file_list . append ( local_script ) mesg = 'Copy binary executable and python scripts to machines' logging . info ( mesg ) self . dispatch_file ( file_list , options . mapreduce_tmp_dir ) self . run_cmd_and_wait ( 'rm -rf %s' % executable )