Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18320 Support ACID Tables Replication
  3. HIVE-18748

Rename table impacts the ACID behavior as table names are not updated in meta-tables.

    XMLWordPrintableJSON

Details

    Description

      ACID implementation uses metatables such as TXN_COMPONENTS, COMPLETED_TXN_COMPONENTS, COMPACTION_QUEUE, COMPLETED_COMPCTION_QUEUE etc to manage ACID operations.

      Per table write ID implementation (HIVE-18192) introduces couple of metatables such as NEXT_WRITE_ID and TXN_TO_WRITE_ID to manage write ids allocated per table.

      Now, when we rename any tables, it is necessary to update the corresponding table names in these metatables as well. Otherwise, ACID table operations won't work properly.

      Since, this change is significant and have other side-effects, we propose to disable rename tables on ACID tables until a fix is figured out.

      Attachments

        1. HIVE-18748.02.patch
          18 kB
          Eugene Koifman
        2. HIVE-18748.03.patch
          19 kB
          Eugene Koifman
        3. HIVE-18748.04.patch
          20 kB
          Eugene Koifman
        4. HIVE-18748.05.patch
          19 kB
          Eugene Koifman
        5. HIVE-18748.01-branch-3.patch
          19 kB
          Eugene Koifman
        6. HIVE-18748.02-branch-3.patch
          19 kB
          Eugene Koifman
        7. HIVE-18748.03-branch-3.patch
          19 kB
          Eugene Koifman
        8. HIVE-18748.04-branch-3.patch
          19 kB
          Eugene Koifman
        9. HIVE-18748.05-branch-3.patch
          19 kB
          Eugene Koifman
        10. HIVE-18748.06-branch-3.patch
          19 kB
          Eugene Koifman

        Issue Links

          Activity

            People

              ekoifman Eugene Koifman
              sankarh Sankar Hariappan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: