Riza Suminto has uploaded this change for review. ( http://gerrit.cloudera.org:8080/23080
Change subject: IMPALA-13947: Test local catalog mode by default ...................................................................... IMPALA-13947: Test local catalog mode by default Local catalog mode has been the default and works well in downstream Impala for over 5 years. This patch turn on local catalog mode by default (--catalog_topic_mode=minimal and --use_local_catalog=true) as preferred mode going forward. Implemented LocalCatalog.setIsReady() to facilitate using local catalog mode for FE tests. Some FE tests fail due to behavior differences in local catalog mode like IMPALA-7539. This is probably OK since Impala now largely hand over FileSystem permission check to Apache Ranger. The following custom cluster tests are pinned to evaluate under legacy catalog mode because their behavior changed in local catalog mode: TestCalcitePlanner.test_calcite_frontend TestCoordinators.test_executor_only_lib_cache TestMetadataReplicas TestTupleCacheCluster TestWorkloadManagementSQLDetailsCalcite.test_tpcds_8_decimal At TestHBaseHmsColumnOrder.test_hbase_hms_column_order, set --use_hms_column_order_for_hbase_tables=true flag for both impalad and catalogd to get consistent column order in either local or legacy catalog mode. Changed TestCatalogRpcErrors.test_register_subscriber_rpc_error assertions to be more fine grained by matching individual query id. Testing: Pass exhaustive tests. Change-Id: Ie303e294972d12b98f8354bf6bbc6d0cb920060f --- M be/src/catalog/catalog-server.cc M be/src/runtime/exec-env.cc M be/src/testutil/in-process-servers.h M fe/src/main/java/org/apache/impala/catalog/local/CatalogdMetaProvider.java M fe/src/main/java/org/apache/impala/catalog/local/LocalCatalog.java M fe/src/main/java/org/apache/impala/catalog/local/MetaProvider.java M fe/src/main/java/org/apache/impala/service/JniFrontend.java M fe/src/test/java/org/apache/impala/analysis/AnalyzeStmtsTest.java M fe/src/test/java/org/apache/impala/catalog/CatalogObjectToFromThriftTest.java M fe/src/test/java/org/apache/impala/catalog/CatalogTest.java M testdata/workloads/functional-query/queries/QueryTest/kudu-timeouts-impalad.test M tests/authorization/test_ranger.py M tests/common/impala_connection.py M tests/custom_cluster/test_calcite_planner.py M tests/custom_cluster/test_coordinators.py M tests/custom_cluster/test_hbase_hms_column_order.py M tests/custom_cluster/test_metadata_replicas.py M tests/custom_cluster/test_query_live.py M tests/custom_cluster/test_services_rpc_errors.py M tests/custom_cluster/test_tuple_cache.py M tests/custom_cluster/test_web_pages.py M tests/custom_cluster/test_workload_mgmt_sql_details.py 22 files changed, 117 insertions(+), 49 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/80/23080/1 -- To view, visit http://gerrit.cloudera.org:8080/23080 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ie303e294972d12b98f8354bf6bbc6d0cb920060f Gerrit-Change-Number: 23080 Gerrit-PatchSet: 1 Gerrit-Owner: Riza Suminto <[email protected]>
