mirror of
https://github.com/apache/impala.git
synced 2025-12-30 03:01:44 -05:00
This patch upgrades IMPALA_THRIFT_CPP_VERSION=0.16.0-p3 to mitigate CVE-2020-13949 and hang issue with newer JDBC client. IMPALA_TOOLCHAIN_BUILD_ID is upgraded to 179-9977806f06, which contains the required thrift-0.16.0 compiler. The refactoring itself includes: - Removing non-generated (empty) *_constants.cpp and adjustment for THRIFT-4730. - Adjusts error handling in client-request-state.cc due to changing thrift error message after the upgrade. - Adding custom build target thrift-cpp-manual-edit to fix clang-diagnostic-inconsistent-missing-override warning in generated ImpalaHiveServer2Service.h and ImpalaService.h Testing: - Build and pass core tests. Change-Id: Ic278ac5c973ff5c3e829a6139b9c16e9d2c62a59 Reviewed-on: http://gerrit.cloudera.org:8080/18661 Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Reviewed-by: Joe McDonnell <joemcdonnell@cloudera.com>