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

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

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.14.0
    • Fix Version/s: 1.3.0, 2.0.0
    • Component/s: HCatalog, Transactions
    • Labels:
      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.patch
          28 kB
          Eugene Koifman
        2. HIVE-12307.2.patch
          28 kB
          Eugene Koifman

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              ekoifman Eugene Koifman Assign to me
              Reporter:
              ekoifman Eugene Koifman

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment