deniskuzZ commented on code in PR #4566:
URL: https://github.com/apache/hive/pull/4566#discussion_r1418918869
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/MultiDataSourceJdbcResource.java:
##########
@@ -46,19 +57,23 @@ public class MultiDataSourceJdbcResource {
private static final Logger LOG =
LoggerFactory.getLogger(MultiDataSourceJdbcResource.class);
- private final ThreadLocal<ContextNode<String>> threadLocal = new
ThreadLocal<>();
+ private final StackThreadLocal<String> threadLocal = new
StackThreadLocal<>();
Review Comment:
should we inline StackThreadLocal impl here? it's not used anywhere else,
isn't it?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]