Matt Burgess created HIVE-24077:
-----------------------------------

             Summary: Streaming Ingest v2 does not send heartbeats
                 Key: HIVE-24077
                 URL: https://issues.apache.org/jira/browse/HIVE-24077
             Project: Hive
          Issue Type: Bug
          Components: Streaming
            Reporter: Matt Burgess


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to