Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9452 Use HBase to store Hive metadata
  3. HIVE-11632

import tool is too brittle (fails on existing role)

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Metastore
    • None

    Description

      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?)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            sershe Sergey Shelukhin

            Dates

              Created:
              Updated:

              Slack

                Issue deployment