You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Grant Henke (Code Review)" <ge...@cloudera.org> on 2019/05/20 00:22:11 UTC

[kudu-CR] hms: ignore external tables and handle new StorageHandler

Hello Tidy Bot, Kudu Jenkins, Andrew Wong, Hao Hao, 

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

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

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

Change subject: hms: ignore external tables and handle new StorageHandler
......................................................................

hms: ignore external tables and handle new StorageHandler

This enables the HMS integration to ignore
non-managed Kudu tables in the KuduMetastorePlugin
and hms_notification_log_listener.

The primary goal is to ignore tables with the type
EXTERNAL_TABLE. But other unexpected and unhandled
table types such as VIRTUAL_VIEW, INDEX_TABLE, and
MATERIALIZED_VIEW are also ignored.

Additionally it updates the server code to support
using the new StorageHandler for all new tables.

Change-Id: I6b7495486fa86710afb670a8e12f72684ba7af8f
---
M java/kudu-hive/src/main/java/org/apache/kudu/hive/metastore/KuduMetastorePlugin.java
M java/kudu-hive/src/test/java/org/apache/kudu/hive/metastore/TestKuduMetastorePlugin.java
M src/kudu/hms/hms_catalog-test.cc
M src/kudu/hms/hms_catalog.cc
M src/kudu/hms/hms_client-test.cc
M src/kudu/hms/hms_client.cc
M src/kudu/hms/hms_client.h
M src/kudu/integration-tests/hms_itest-base.cc
M src/kudu/integration-tests/hms_itest-base.h
M src/kudu/integration-tests/master_hms-itest.cc
M src/kudu/master/hms_notification_log_listener.cc
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool_action_hms.cc
13 files changed, 226 insertions(+), 116 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/47/13347/3
-- 
To view, visit http://gerrit.cloudera.org:8080/13347
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I6b7495486fa86710afb670a8e12f72684ba7af8f
Gerrit-Change-Number: 13347
Gerrit-PatchSet: 3
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Hao Hao <ha...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)