def get_cluster_addr_for_job_submission():
  if is_yarn():
    if get_yarn().LOGICAL_NAME.get():
      return get_yarn().LOGICAL_NAME.get()

  conf = get_cluster_conf_for_job_submission()
  if conf is None:
    return None

  return "%s:%s" % (conf.HOST.get(), conf.PORT.get())
Returns a list of keys matching ``pattern`` in a dictionary keyed by
dataset/ETHPy150Open cloudera/hue/desktop/libs/hadoop/src/hadoop/cluster.py/get_cluster_addr_for_job_submission--crossover with--dataset/ETHPy150Open gmr/mredis/mredis/client.py/MRedis.keys