Hi Champs,

My active NN log keeps throwing "Failed to obtain Transport for
fakehostname:8038:null".
The exception is triggered from SentryTransportPool

try {
  TTransportWrapper transport =
      isPoolEnabled ?
          pool.borrowObject(addr) :
          transportFactory.getTransport(addr);
  LOGGER.debug("[{}] obtained transport {}", id, transport);
  if (LOGGER.isDebugEnabled() && isPoolEnabled) {
    LOGGER.debug("Currently {} active connections, {} idle connections",
        pool.getNumActive(), pool.getNumIdle());
  }
  return transport;
} catch (IllegalStateException e) {
  // Should not happen
  LOGGER.error("Unexpected error from pool {}", id, e);
  failure = e;
} catch (Exception e) {
  LOGGER.error("Failed to obtain transport for {}: {}",
      addr, e.getMessage());
  failure = e;


I'm trying to understand the bottom of the issue. On what scenario we get
this exception, may be NN couldn't get any connection to Sentry server from
the pool, due to network issue? Or the number of threads exhausted? Should
increasing sentry.service.server-max-threads help? or is it completely
different?

Pls advice

-Rams

Reply via email to