def _make_mrcluster(identifier): cluster_conf = conf.MR_CLUSTERS[identifier] return LiveJobTracker.from_conf(cluster_conf)
def jt(self): """Creates a LiveJobTracker object configured for this cluster.""" if self._jt is None: self._jt = LiveJobTracker("localhost", self.jobtracker_thrift_port) return self._jt
def jt(self): if self._jt is None: self._jt = LiveJobTracker(self._fqdn, self.jt_thrift_port) return self._jt
def jt(self): if self._jt is None: self._jt = LiveJobTracker(self._fqdn, 0) return self._jt
def jt(self): """Returns a LiveJobTracker object configured for this cluster.""" if self._jt is None: self._jt = LiveJobTracker(self._fqdn, self.jt_thrift_port) return self._jt