[
https://issues.apache.org/jira/browse/HIVE-24077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HIVE-24077:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> 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)