| 794 | } |
| 795 | |
| 796 | void ImpalaHttpHandler::SessionsHandler(const Webserver::WebRequest& req, |
| 797 | Document* document) { |
| 798 | VLOG(1) << "Step1: Fill the sessions information into the document."; |
| 799 | FillSessionsInfo(document); |
| 800 | |
| 801 | ThriftServer::ConnectionContextList connection_contexts; |
| 802 | server_->GetAllConnectionContexts(&connection_contexts); |
| 803 | VLOG(1) << "Step2: Fill the client hosts information into the document."; |
| 804 | FillClientHostsInfo(document, connection_contexts); |
| 805 | |
| 806 | VLOG(1) << "Step3: Fill the connections information into the document."; |
| 807 | FillConnectionsInfo(document, connection_contexts); |
| 808 | |
| 809 | VLOG(1) << "Step4: Fill the hs2 users information into the document."; |
| 810 | FillUsersInfo(document); |
| 811 | } |
| 812 | |
| 813 | void ImpalaHttpHandler::FillSessionsInfo(Document* document) { |
| 814 | lock_guard<mutex> l(server_->session_state_map_lock_); |
nothing calls this directly
no test coverage detected