Skip to content

Commit 4911fd7

Browse files
committed
debug log and increase the retry
1 parent ff2e707 commit 4911fd7

File tree

2 files changed

+2
-2
lines changed
  • standalone-metastore

2 files changed

+2
-2
lines changed

standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ public enum ConfVars {
13101310
+ " prohibit: do not consider alternate locations; throw error if the default is not available\n"
13111311
+ " force: use the default location even in case the directory is already available"),
13121312
METASTORE_S4U_NOWAIT_MAX_RETRIES("metastore.s4u.nowait.max.retries",
1313-
"hive.metastore.s4u.nowait.max.retries", 20,
1313+
"hive.metastore.s4u.nowait.max.retries", 100,
13141314
"Number of retries required to acquire a row lock immediately without waiting."),
13151315
METASTORE_S4U_NOWAIT_RETRY_SLEEP_INTERVAL(
13161316
"metastore.s4u.nowait.retry.sleep.interval",

standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9239,7 +9239,7 @@ public Map<String, String> updateTableColumnStatistics(ColumnStatistics colStats
92399239
// TODO: similar to update...Part, this used to do "return committed;"; makes little sense.
92409240
return committed ? result : null;
92419241
} finally {
9242-
LOG.info("{} updateTableColumnStatistics took {}ms, success: {}",
9242+
LOG.debug("{} updateTableColumnStatistics took {}ms, success: {}",
92439243
new TableName(catName, statsDesc.getDbName(), statsDesc.getTableName()),
92449244
System.currentTimeMillis() - start, committed);
92459245
rollbackAndCleanup(committed, null);

0 commit comments

Comments
 (0)