You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2015/08/25 20:10:46 UTC

[jira] [Commented] (HIVE-11632) import tool is too brittle (fails on existing role)

    [ https://issues.apache.org/jira/browse/HIVE-11632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14711705#comment-14711705 ] 

Sergey Shelukhin commented on HIVE-11632:
-----------------------------------------

Worked around by nuking all HBMS tables from Hbase shell and then re-creating and re-importing

> import tool is too brittle (fails on existing role)
> ---------------------------------------------------
>
>                 Key: HIVE-11632
>                 URL: https://issues.apache.org/jira/browse/HIVE-11632
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>            Reporter: Sergey Shelukhin
>
> Fails for me with Caught exception org.apache.hadoop.hive.metastore.api.InvalidObjectException with message <Role admin already exists>
> Not sure what to do with this now... someone might have run the import before, but that didn't finish because I don't see anything non-default in Hbase metastore tables. Or maybe role admin exists by default.
> There should be a better way to handle this ("clear" flag? confirmation if something already exists?)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)