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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.0
    • Component/s: HiveServer2, repl
    • Labels:
      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

            • Assignee:
              ashutosh.bapat Ashutosh Bapat
              Reporter:
              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