mirror of
https://github.com/apache/impala.git
synced 2025-12-25 02:03:09 -05:00
test_log_fragments.py broken after HS2 switch in IMPALA-13916. The test look for log line from ImpalaServer::QueryToTQueryContext in impala-beeswax-server.cc. VLOG_QUERY << "query: " << ThriftDebugString(query); This log line does not appear when using HS2 protocol. The equivalent log line in impala-hs2-server.cc is in ImpalaServer::ExecuteStatement VLOG_QUERY << "ExecuteStatement(): request=" << ... This patch also remove redundant TExecuteStatementReq logging in ImpalaServer::TExecuteStatementReqToTQueryContext. Either of ImpalaServer::ExecuteStatement or ImpalaServer::ExecutePlannedStatement has log the same TExecuteStatementReq already. Testing: - Run and pass test_log_fragments.py by itself. Change-Id: I93e1fb6c7ba50f47023ca0c382a884093187b847 Reviewed-on: http://gerrit.cloudera.org:8080/22947 Reviewed-by: Quanlong Huang <huangquanlong@gmail.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>