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

support whole warehouse dump / load + create/drop database events

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • None

    Description

      A complete hive warehouse might be required to replicate to a DR site for certain use cases and rather than allowing only a database name in the REPL DUMP commands, we should allow dumping of all databases using the "*" option as in

      REPL DUMP *

      On the repl load side there will not be an option to specify the database name when loading from a location used to dump multiple databases, hence only

      REPL LOAD FROM [location] would be supported when dumping via REPL DUMP *

      Additionally, incremental dumps will go through all events across databases in a warehouse and hence CREATE / DROP Database events have to be serialized correctly to allow repl load to create them correctly.

      Attachments

        1. HIVE-18467.6.patch
          52 kB
          Anishek Agarwal
        2. HIVE-18467.5.patch
          47 kB
          Anishek Agarwal
        3. HIVE-18467.2.patch
          48 kB
          Anishek Agarwal
        4. HIVE-18467.1.patch
          41 kB
          Anishek Agarwal
        5. HIVE-18467.0.patch
          34 kB
          Anishek Agarwal

        Issue Links

          Activity

            People

              anishek Anishek Agarwal
              anishek Anishek Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: