def get_mock_hadoop_cmd_args():
 cmd_log = os.path.join(get_mock_dir(), 'cmd.log')
 if (not os.path.exists(cmd_log)):
  return []
 with open(cmd_log) as f:
  return [shlex_split(cmd) for cmd in f]

def get_mock_hadoop_cmd_args ( ) : cmd_log = os . path . join ( get_mock_dir ( ) , 'cmd.log' ) if ( not os . path . exists ( cmd_log ) ) : return [ ] with open ( cmd_log ) as f : return [ shlex_split ( cmd ) for cmd in f ]
get a list for each invocation of hadoop .