ashutosh-bapat commented on a change in pull request #684: HIVE-21880 : Enable
flaky test
TestReplicationScenariosAcidTablesBootstrap.testBootstrapAcidTablesDuringIncrementalWithConcurrentWrites.
URL: https://github.com/apache/hive/pull/684#discussion_r299338119
##########
File path:
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java
##########
@@ -2673,4 +2673,13 @@ private void getStatsTableListResult(
query.closeAll();
}
}
+
+ public void lockDbTable(String tableName) throws MetaException {
+ String lockCommand = "lock table \"" + tableName + "\" in exclusive mode";
+ try {
+ executeNoResult(lockCommand);
+ } catch (SQLException sqle) {
Review comment:
Done. Wrapped it in RetryingExecutor.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]