def get_default_mrcluster():
 global MR_CACHE
 global MR_NAME_CACHE
 try:
  all_mrclusters()
  return MR_CACHE.get(MR_NAME_CACHE)
 except KeyError:
  candidates = all_mrclusters()
  if candidates:
   return candidates.values()[0]
  return None

def get_default_mrcluster ( ) : global MR_CACHE global MR_NAME_CACHE try : all_mrclusters ( ) return MR_CACHE . get ( MR_NAME_CACHE ) except KeyError : candidates = all_mrclusters ( ) if candidates : return candidates . values ( ) [ 0 ] return None
get the default jt .