Andrew Wong has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/13315


Change subject: hms: ignore DROP TABLE events from external tables
......................................................................

hms: ignore DROP TABLE events from external tables

To maintain the expectation that dropping an external table will not
delete the underlying data of a Kudu table, this patch updates the
HMS notification log listener to ignore external tables.

To maintain the behavior that Kudu tables that are synchronized with the
HMS can continue to be dropped, this patch also sets the default table
type to be managed.

This change makes it difficult to delete the underlying Kudu table of an
external table. A follow-up patch will provide the semantics described
in the new disabled test TestDropExternalTableThroughKudu.

Change-Id: I9b593ac40022d881569c524ac8f3c23b6f8815dc
---
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
4 files changed, 81 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/15/13315/1
--
To view, visit http://gerrit.cloudera.org:8080/13315
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9b593ac40022d881569c524ac8f3c23b6f8815dc
Gerrit-Change-Number: 13315
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong <[email protected]>

Reply via email to