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

Bootstrap is missing partitions in replicated DB when retry after kill query.

    XMLWordPrintableJSON

Details

    Description

      The issue is

      1. When bootstrap was going on, kill query was called to kill the repl load command.
      2. During restart, one table with no partition set the scope to table as the ckpt property was not yet set for that table.
      3. Due to this, all partitioned table after this didn't get their tasks related to partition appended in the root task if the ckpt property is already updated for those tables.

      The fix is to reset the table scope to false if for that table there are no tasks added.

      Attachments

        1. HIVE-20680.01.patch
          12 kB
          mahesh kumar behera
        2. HIVE-20680.02.patch
          12 kB
          mahesh kumar behera

        Activity

          People

            maheshk114 mahesh kumar behera
            maheshk114 mahesh kumar behera
            Votes:
            0 Vote for this issue
            Watchers:
            3 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 - 0.5h
                0.5h