Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-28189

PrivilegeSynchonizer Need to lock the table while synchronizing privs data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.0
    • None
    • HiveServer2
    • None

    Description

      Due to the large number of permissions, the synchronization time exceeds 1 minute. 

      If I delete this table during that 1 minute, it will cause the table to fail to delete, with the error that the tbl_col_privs foreign key constraint check failed. So I think the table should be locked when the permissions are synchronized

      Attachments

        Activity

          People

            Unassigned Unassigned
            FanYuping Yuping Fan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: