Attila Jeges has uploaded a new patch set (#2). Change subject: IMPALA-4278: Don't abort Catalog startup quickly if HMS is not present ......................................................................
IMPALA-4278: Don't abort Catalog startup quickly if HMS is not present This change introduces a new catalogd startup option (init_first_metastore_client_timeout_seconds) that specifies the time in seconds catalogd should spend on retrying to establish a connection to HMS the first time on startup before giving up and exiting fatally. Setting this startup option to a value that is greater than the HMS startup time will allow CM to start Impala at the same time or even before HMS. The default value of init_first_metastore_client_timeout_seconds is 120 seconds. Change-Id: I546d8fe9836004832ae40110c9fe22b3e704e11b --- M be/src/catalog/catalog.cc M be/src/util/backend-gflag-util.cc M common/thrift/BackendGflags.thrift M fe/src/main/java/org/apache/impala/catalog/Catalog.java M fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java M fe/src/main/java/org/apache/impala/catalog/ImpaladCatalog.java M fe/src/main/java/org/apache/impala/catalog/MetaStoreClientPool.java M fe/src/main/java/org/apache/impala/service/JniCatalog.java M fe/src/test/java/org/apache/impala/testutil/CatalogServiceTestCatalog.java A tests/experiments/test_catalog_hms_failures.py 10 files changed, 284 insertions(+), 49 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/95/5095/2 -- To view, visit http://gerrit.cloudera.org:8080/5095 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I546d8fe9836004832ae40110c9fe22b3e704e11b Gerrit-PatchSet: 2 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Attila Jeges <atti...@cloudera.com> Gerrit-Reviewer: Attila Jeges <atti...@cloudera.com> Gerrit-Reviewer: Henry Robinson <he...@cloudera.com>