[
https://issues.apache.org/jira/browse/HIVE-24077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesus Camacho Rodriguez resolved HIVE-24077.
--------------------------------------------
Fix Version/s: 4.0.0
Assignee: Steve Carlin
Resolution: Fixed
Pushed to master, thanks for your contribution [~scarlin]!
> 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
> Assignee: Steve Carlin
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)