You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/05/19 23:35:00 UTC
[jira] [Commented] (IMPALA-9764) TransactionKeepalive should set
sleep interval based on Hive Configuration
[ https://issues.apache.org/jira/browse/IMPALA-9764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17111618#comment-17111618 ]
ASF subversion and git services commented on IMPALA-9764:
---------------------------------------------------------
Commit a11106e794e793813a86840c2d8599cf149cc7a6 in impala's branch refs/heads/master from Zoltan Borok-Nagy
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=a11106e ]
IMPALA-9764: TransactionKeepalive should set sleep interval based on Hive Configuration
Impala must heartbeat its transactions and locks in order to keep them
alive. Before this commit TransactionKeepalive had hard-coded value for
sleep interval, i.e. it slept 60 seconds between heartbeats.
However, at HMS side the transaction timeout is configurable.
With this commit Impala reads the Hive configuration and calculate its
sleep interval based on that. It simply divides the timeout value by 3.
Testing:
I tested it manually. Created hive-site.xml with "hive.txn.timeout" set
and checked that Impala picked up the set value. If "hive.txn.timeout"
was not set, Impala used the default value (300s).
Change-Id: I546dac324494f1c945e8943e267f8146d22a837d
Reviewed-on: http://gerrit.cloudera.org:8080/15956
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
> TransactionKeepalive should set sleep interval based on Hive Configuration
> --------------------------------------------------------------------------
>
> Key: IMPALA-9764
> URL: https://issues.apache.org/jira/browse/IMPALA-9764
> Project: IMPALA
> Issue Type: Bug
> Reporter: Zoltán Borók-Nagy
> Priority: Major
>
> Impala must heartbeat its transactions and locks in order to keep them alive.
> Currently TransactionKeepalive has hard-coded value for sleep interval, i.e. it always sleeps 60 seconds between heartbeats.
> However, at HMS side the time after which transactions are declared aborted if the client has not sent a heartbeat is configurable.
> Impala should read the Hive configuration and calculate its sleep interval based on that.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org