| 3800 | } |
| 3801 | |
| 3802 | void 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 | |
| 3825 | void ImpalaServer::DoTraceQuery(const TUniqueId& query_id, bool do_trace) { |
| 3826 | shared_ptr<QueryDriver> query_driver = GetQueryDriver(query_id); |
no test coverage detected