public String getServerHost() throws Exception { if ((thriftCLIService == null) || (thriftCLIService.getServerIPAddress() == null)) { throw new Exception("Unable to get the server address; it hasn't been initialized yet."); } return thriftCLIService.getServerIPAddress().getHostName(); }
private String getServerInstanceURI() throws Exception { if ((thriftCLIService == null) || (thriftCLIService.getServerIPAddress() == null)) { throw new Exception("Unable to get the server address; it hasn't been initialized yet."); } return thriftCLIService.getServerIPAddress().getHostName() + ":" + thriftCLIService.getPortNumber(); }
public String getServerHost() throws Exception { if ((thriftCLIService == null) || (thriftCLIService.getServerIPAddress() == null)) { throw new Exception("Unable to get the server address; it hasn't been initialized yet."); } return thriftCLIService.getServerIPAddress().getHostName(); }
private String getServerInstanceURI(HiveConf hiveConf) throws Exception { if ((thriftCLIService == null) || (thriftCLIService.getServerIPAddress() == null)) { throw new Exception("Unable to get the server address; it hasn't been initialized yet."); } return thriftCLIService.getServerIPAddress().getHostName() + ":" + thriftCLIService.getPortNumber(); }
private String getServerInstanceURI() throws Exception { if ((thriftCLIService == null) || (thriftCLIService.getServerIPAddress() == null)) { throw new Exception("Unable to get the server address; it hasn't been initialized yet."); } return thriftCLIService.getServerIPAddress().getHostName() + ":" + thriftCLIService.getPortNumber(); }
private String getServerInstanceURI(HiveConf hiveConf) throws Exception { if ((thriftCLIService == null) || (thriftCLIService.getServerIPAddress() == null)) { throw new Exception("Unable to get the server address; it hasn't been initialized yet."); } return thriftCLIService.getServerIPAddress().getHostName() + ":" + thriftCLIService.getPortNumber(); }