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

enhance storage handler interface to allow for atomic operations

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.6.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      For native tables, we support atomic operations such as INSERT by only moving files from tmp to the real location once the operation is complete. Some storage handlers may be able to support something equivalent; e.g. for HBase, we could purge new timestamps if the operation fails. Even if we don't go all the way to two-phase-commit, we could at least enable something that handles most simple cases.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvs John Sichi
                Reporter:
                jvs John Sichi
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: