/** * @return This servers {@link HServerInfo} */ // TODO: Deprecate and do getServerName instead. public HServerInfo getServerInfo() { try { return getHServerInfo(); } catch (IOException e) { e.printStackTrace(); } return null; }
/** * {@inheritDoc} * @deprecated Use {@link #getServerName()} instead. */ @Override @QosPriority(priority = HConstants.HIGH_QOS) public HServerInfo getHServerInfo() throws IOException { checkOpen(); return new HServerInfo(new HServerAddress(this.isa), this.startcode, this.webuiport); }
/** {@inheritDoc} * @deprecated Use {@link #getServerName()} instead. */ @Override @QosPriority(priority=HConstants.HIGH_QOS) public HServerInfo getHServerInfo() throws IOException { checkOpen(); return new HServerInfo(new HServerAddress(this.isa), this.startcode, this.webuiport); }
/** {@inheritDoc} * @deprecated Use {@link #getServerName()} instead. */ @Override @QosPriority(priority=HIGH_QOS) public HServerInfo getHServerInfo() throws IOException { checkOpen(); return new HServerInfo(new HServerAddress(this.isa), this.startcode, this.webuiport); }
/** * Method used when a master is taking the place of another failed one. * @return This servers {@link HServerInfo}; it has RegionServer POV on the * hostname which may not agree w/ how the Master sees this server. * @throws IOException e * @deprecated */ public HServerInfo getHServerInfo() throws IOException;