def find_mapreduce_yaml(status_file=__file__):
 checked = set()
 yaml = _find_mapreduce_yaml(os.path.dirname(status_file), checked)
 if (not yaml):
  yaml = _find_mapreduce_yaml(os.getcwd(), checked)
 return yaml

def find_mapreduce_yaml ( status_file = __file__ ) : checked = set ( ) yaml = _find_mapreduce_yaml ( os . path . dirname ( status_file ) , checked ) if ( not yaml ) : yaml = _find_mapreduce_yaml ( os . getcwd ( ) , checked ) return yaml
traverse directory trees to find mapreduce .