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

Streaming Ingest v2 does not send heartbeats

    XMLWordPrintableJSON

Details

    Description

      In Hive Streaming v2, TransactionBatch calls setupHeartbeatThread() before setting minTxnId to an AtomicLong object, so the value that is used for HeartbeatRunnable is null. Upon the first call to run(), a NullPointerException is thrown by the minTxnId.get() call, which causes the thread to fail and it does not get rescheduled. This causes any transaction that exceeds the transaction timeout time (default 5 mins) to be aborted.

      Attachments

        Issue Links

          Activity

            People

              scarlin Steve Carlin
              mattyb149 Matt Burgess
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m