MCPcopy Create free account
hub / github.com/apache/impala / GetAllConnectionContexts

Method GetAllConnectionContexts

be/src/service/impala-server.cc:3802–3823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3800}
3801
3802void ImpalaServer::GetAllConnectionContexts(
3803 ThriftServer::ConnectionContextList* connection_contexts) {
3804 DCHECK_EQ(connection_contexts->size(), 0);
3805 // Get the connection contexts of the beeswax server
3806 if (beeswax_server_.get()) {
3807 beeswax_server_->GetConnectionContextList(connection_contexts);
3808 }
3809 // Get the connection contexts of the hs2 server
3810 if (hs2_server_.get()) {
3811 hs2_server_->GetConnectionContextList(connection_contexts);
3812 }
3813 // Get the connection contexts of the hs2-http server
3814 if (hs2_http_server_.get()) {
3815 hs2_http_server_->GetConnectionContextList(connection_contexts);
3816 }
3817 // Get the connection contexts of the external fe server
3818 if (external_fe_server_.get()) {
3819 external_fe_server_->GetConnectionContextList(connection_contexts);
3820 }
3821 // Get the connection contexts of the internal server
3822 GetConnectionContextList(connection_contexts);
3823}
3824
3825void ImpalaServer::DoTraceQuery(const TUniqueId& query_id, bool do_trace) {
3826 shared_ptr<QueryDriver> query_driver = GetQueryDriver(query_id);

Callers 1

SessionsHandlerMethod · 0.80

Calls 3

getMethod · 0.65
sizeMethod · 0.45

Tested by

no test coverage detected