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

Streaming API TransactionBatch.close() must abort any remaining transactions in the batch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 1.3.0, 2.0.0
    • HCatalog, Transactions
    • None

    Description

      When the client of TransactionBatch API encounters an error it must close() the batch and start a new one. This prevents attempts to continue writing to a file that may damaged in some way.

      The close() should ensure to abort the any txns that still remain in the batch and close (best effort) all the files it's writing to. The batch should also put itself into a mode where any future ops on this batch fail.

      Attachments

        1. HIVE-12307.2.patch
          28 kB
          Eugene Koifman
        2. HIVE-12307.patch
          28 kB
          Eugene Koifman

        Issue Links

          Activity

            People

              ekoifman Eugene Koifman
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: