Hive
  1. Hive
  2. HIVE-2786

Throw an error if the user tries to insert a table into a region other than the primary region

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      By default, the user can only insert into the primary region.

      Add an option to insert into the secondary region also.
      The config variable is 'hive.insert.secondary.regions' - default for that variable is false

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        162d 2h 29m 1 Namit Jain 19/Jul/12 06:16
        Patch Available Patch Available Resolved Resolved
        13s 1 Namit Jain 19/Jul/12 06:17
        Namit Jain made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Hide
        Namit Jain added a comment -

        This is not needed

        Show
        Namit Jain added a comment - This is not needed
        Namit Jain made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Namit Jain added a comment -

        The semantics are as follows:

        If the table/partition is present in the primary region, and the insert is happening in the secondary region, verify that the table/partition is the same (the file size should be exactly
        the same). Otherwise, the operation fails.

        If the table/partition is present in the secondary region, and the insert is happening in the primary region, verify that the table/partition is the same (the file size should be exactly
        the same). Otherwise, the secondary region needs to be deleted.

        Show
        Namit Jain added a comment - The semantics are as follows: If the table/partition is present in the primary region, and the insert is happening in the secondary region, verify that the table/partition is the same (the file size should be exactly the same). Otherwise, the operation fails. If the table/partition is present in the secondary region, and the insert is happening in the primary region, verify that the table/partition is the same (the file size should be exactly the same). Otherwise, the secondary region needs to be deleted.
        Namit Jain made changes -
        Assignee Namit Jain [ namit ]
        Namit Jain made changes -
        Field Original Value New Value
        Summary Throw an error if the user tries to insert a table into a cluster other than the primary cluster Throw an error if the user tries to insert a table into a region other than the primary region
        Description By default, the user can only insert into the primary cluster.

        Add an option to insert into the secondary clusters also
        By default, the user can only insert into the primary region.

        Add an option to insert into the secondary region also.
        The config variable is 'hive.insert.secondary.regions' - default for that variable is false
        Namit Jain created issue -

          People

          • Assignee:
            Namit Jain
            Reporter:
            Namit Jain
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development