aasha commented on a change in pull request #2068:
URL: https://github.com/apache/hive/pull/2068#discussion_r599287490
##########
File path:
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java
##########
@@ -377,6 +377,8 @@ public void setConf(Configuration conf){
numOpenTxns = Metrics.getOrCreateGauge(MetricsConstants.NUM_OPEN_TXNS);
timeout = MetastoreConf.getTimeVar(conf, ConfVars.TXN_TIMEOUT,
TimeUnit.MILLISECONDS);
+ replicationTxnTimeout = MetastoreConf.getTimeVar(conf,
ConfVars.REPL_EVENT_DB_LISTENER_TTL, TimeUnit.MILLISECONDS) +
Review comment:
REPL_EVENT_DB_LISTENER_TTL value should be picked from source cluster.
If the value is different in source and target cluster, we can't automatically
determine this. Instead we should update the timeout config description and
provide this as a guideline.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]