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

Using strict managed tables for ACID table testing (Replication tests)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0-alpha-1
    • HiveServer2, repl
    • None

    Description

      The replication tests which exclusively test ACID table replication are adding transactional properties to the create table/alter table statements when creating the table. Instead they should use hive.strict.managed.tables = true in those tests. Tests derived from BaseReplicationScenariosAcidTables, TestStatsReplicationScenariosACID, TestStatsReplicationScenariosACIDNoAutogather, TestStatsReplicationScenariosMM, TestStatsReplicationScenariosMMNoAutogather and TestReplicationScenariosIncrementalLoadAcidTables are examples of those. Change all such tests use hive.strict.managed.tables = true. Some of these tests create non-acid tables for testing, which will then require explicit 'transactional'=false set when creating the tables.

      With this change we might see some test failures (See subtasks). Please create subtasks for those so that it can be tracked within this JIRA.

      Attachments

        Activity

          People

            ashutosh.bapat Ashutosh Bapat
            ashutosh.bapat Ashutosh Bapat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4h 50m
                4h 50m