def _ls_emr_bootstrap_stderr_logs(fs, log_dir_stream, action_num=None, node_id=None):
 matches = _ls_logs(fs, log_dir_stream, _match_emr_bootstrap_stderr_path, action_num=None, node_id=None)
 return sorted(matches, key=(lambda m: ((- m['action_num']), m['node_id'])))

def _ls_emr_bootstrap_stderr_logs ( fs , log_dir_stream , action_num = None , node_id = None ) : matches = _ls_logs ( fs , log_dir_stream , _match_emr_bootstrap_stderr_path , action_num = None , node_id = None ) return sorted ( matches , key = ( lambda m : ( ( - m [ 'action_num' ] ) , m [ 'node_id' ] ) ) )
find all stderr from bootstrap actions in the given dir .