You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Alexey Serbin (JIRA)" <ji...@apache.org> on 2019/07/01 21:32:00 UTC
[jira] [Updated] (KUDU-2883) HMS check/fix tool should accommodate
tables without ID for dropping orphan hms tables.
[ https://issues.apache.org/jira/browse/KUDU-2883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Serbin updated KUDU-2883:
--------------------------------
Description:
In cases that table has no ID(created when HMS integration is disabled), HMS check/fix tool should accommodate such cases for dropping orphan hms tables (https://github.com/apache/kudu/blob/master/src/kudu/tools/tool_action_hms.cc#L616).
As of now, in attempt to run the {{kudu hms fix}} tool in the presence of such tables, the tool reports an error:
{noformat}
sudo -u kudu kudu hms fix localhost --drop_orphan_hms_tables --force --ignore_other_clusters=false
Command exited with code: 1
Command output: Remote error: failed to drop orphan HMS table db_name.hms_name: failed to drop Hive Metastore table: TException - service has thrown: MetaException(message=Kudu table ID does not match the HMS entry)
{noformat}
was:In cases that table has no ID(created when HMS integration is disabled), HMS check/fix tool should accommodate such caes for dropping orphan hms tables (https://github.com/apache/kudu/blob/master/src/kudu/tools/tool_action_hms.cc#L616).
> HMS check/fix tool should accommodate tables without ID for dropping orphan hms tables.
> ---------------------------------------------------------------------------------------
>
> Key: KUDU-2883
> URL: https://issues.apache.org/jira/browse/KUDU-2883
> Project: Kudu
> Issue Type: Bug
> Affects Versions: 1.10.0
> Reporter: Hao Hao
> Priority: Major
>
> In cases that table has no ID(created when HMS integration is disabled), HMS check/fix tool should accommodate such cases for dropping orphan hms tables (https://github.com/apache/kudu/blob/master/src/kudu/tools/tool_action_hms.cc#L616).
> As of now, in attempt to run the {{kudu hms fix}} tool in the presence of such tables, the tool reports an error:
> {noformat}
> sudo -u kudu kudu hms fix localhost --drop_orphan_hms_tables --force --ignore_other_clusters=false
> Command exited with code: 1
> Command output: Remote error: failed to drop orphan HMS table db_name.hms_name: failed to drop Hive Metastore table: TException - service has thrown: MetaException(message=Kudu table ID does not match the HMS entry)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)