afterConnect(); checkVersion(getServiceVersion()); LOG.info("Alluxio client (version {}) is connected with {} @ {}", RuntimeConstants.VERSION,
private void doConnect() throws IOException, TTransportException { LOG.info("Alluxio client (version {}) is trying to connect with {} @ {}", RuntimeConstants.VERSION, getServiceName(), mAddress); // The wrapper transport TTransport clientTransport = TransportProvider.Factory.create().getClientTransport(mParentSubject, mAddress); mProtocol = ThriftUtils.createThriftProtocol(clientTransport, getServiceName()); mProtocol.getTransport().open(); LOG.info("Client registered with {} @ {}", getServiceName(), mAddress); mConnected = true; afterConnect(); checkVersion(getClient(), getServiceVersion()); }