[
https://issues.apache.org/jira/browse/IMPALA-13803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17931145#comment-17931145
]
ASF subversion and git services commented on IMPALA-13803:
----------------------------------------------------------
Commit 7c02ba952b1dc7b5e43c302f3bf76a18316ef417 in impala's branch
refs/heads/master from jasonmfehr
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=7c02ba952 ]
IMPALA-13803: Fix hiveserver2_protocol_version Values in Workload Management
The workload management tables sys.impala_query_live and
sys.impala_query_log contain different values for the
hiveserver2_protocol_version column. The live table contains a short
string such as "V6" while the log table contains a much longer string
with an unnecessary prefix such as "HIVE_CLI_SERVICE_PROTOCOL_V6".
This patch modifies the value stored in the
hiveserver2_protocol_version column in the sys.impala_query_log table
to match the value stored in the sys.impala_query_live table and the
query profile.
Testing was accomplished by running the following test suites
locally. These tests all call the 'assert_query' function of
workload_management.py which checks the value of the
hiveserver2_protocol_version column. A new test was added to
test_query_live.py which uses HS2 as the client protocol.
* tests/custom_cluster/test_query_live.py
* tests/custom_cluster/test_query_log.py
* tests/custom_cluster/test_workload_mgmt_init.py
Change-Id: Idd8121d4fbf7abe12d313f3314377db6f1ec017a
Reviewed-on: http://gerrit.cloudera.org:8080/22553
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Workload Management Tables Have Different hiveserver2_protocol Column Values
> ----------------------------------------------------------------------------
>
> Key: IMPALA-13803
> URL: https://issues.apache.org/jira/browse/IMPALA-13803
> Project: IMPALA
> Issue Type: Bug
> Reporter: Jason Fehr
> Assignee: Jason Fehr
> Priority: Major
> Labels: workload-management
>
> The sys.impala_query_log table contains values such as
> "HIVE_CLI_SERVICE_PROTOCOL_V6" in the hiveserver_protocol column while the
> query profile and sys.impala_query_live table has a shorter string of "V6".
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]