Hello Bharath Vissapragada, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/14134

to look at the new patch set (#4).

Change subject: IMPALA-8797: Support database and table blacklist
......................................................................

IMPALA-8797: Support database and table blacklist

Add catalogd startup option for database and table blacklist. Blacklist
dbs/tables will be skipped in loading. Users won't see them when getting
database/table list, e.g. in SHOW DATABASES/TABLES. Dropping/creating
blacklist databases/tables/views are not allowed too.

Implementation:
Catalogd parses the --blacklist_dbs and --blacklist_tables options in
startup. Blacklist checks are added when loading the metadata, executing
DDL requests for create/drop.

Motivation:
By default, it's used to blacklist "sys" and "information_schema"
databases from Hive. Admin can use them to specify any databases/tables
that are not suitable for Impala to query.

Tests:
 - Add java unit tests for blacklist related functions
 - Add a custom cluster test: test_blacklist_dbs_and_tables.py
 - Ran CORE tests

Change-Id: I02dbb07f8e08793b57b2a88d09b30fd32cff26dc
---
M be/src/common/global-flags.cc
M be/src/util/backend-gflag-util.cc
M common/thrift/BackendGflags.thrift
M fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java
M fe/src/main/java/org/apache/impala/service/BackendConfig.java
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
A fe/src/test/java/org/apache/impala/catalog/CatalogServiceCatalogTest.java
A tests/custom_cluster/test_blacklist_dbs_and_tables.py
8 files changed, 357 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/34/14134/4
--
To view, visit http://gerrit.cloudera.org:8080/14134
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I02dbb07f8e08793b57b2a88d09b30fd32cff26dc
Gerrit-Change-Number: 14134
Gerrit-PatchSet: 4
Gerrit-Owner: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Bharath Vissapragada <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>

Reply via email to