Abhishek Chennaka has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18280


Change subject: [tools] KUDU-3333 Table Counts in kudu hms dryrun
......................................................................

[tools] KUDU-3333 Table Counts in kudu hms dryrun

In cases where the user running the Kudu CLI tool, kudu hms
fix, doesn't have permissions from Ranger/Sentry to access
the tables, these tables would be treated as non-existant tables
in Kudu. In such scenarios, there might be situations where the
tables could be dropped from HMS inspite of them being present
in Kudu when run with -drop_orphan_tables flag.

This patch adds additional logging which reports the total
table counts from HMS and Kudu master catalogs and warns the
user if there are no tables in Kudu when kudu hms fix command is
run.

Change-Id: Idf26141d2a3fd6cbb7249b3492fc6a50a0c0aa2d
---
M src/kudu/tools/tool_action_hms.cc
1 file changed, 19 insertions(+), 4 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idf26141d2a3fd6cbb7249b3492fc6a50a0c0aa2d
Gerrit-Change-Number: 18280
Gerrit-PatchSet: 1
Gerrit-Owner: Abhishek Chennaka <[email protected]>

Reply via email to