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

Method SessionsHandler

be/src/service/impala-http-handler.cc:796–811  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

794}
795
796void 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
813void ImpalaHttpHandler::FillSessionsInfo(Document* document) {
814 lock_guard<mutex> l(server_->session_state_map_lock_);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected