zabetak commented on code in PR #4755:
URL: https://github.com/apache/hive/pull/4755#discussion_r1532206085


##########
common/src/java/org/apache/hadoop/hive/ql/log/PerfLogger.java:
##########
@@ -90,9 +118,10 @@ public class PerfLogger {
   public static final String HIVE_GET_NOT_NULL_CONSTRAINT = 
"getNotNullConstraints";
   public static final String HIVE_GET_TABLE_CONSTRAINTS = 
"getTableConstraints";
 
-  protected final Map<String, Long> startTimes = new ConcurrentHashMap<>();
+  protected final Map<String, Long> startTimes = 
Collections.synchronizedMap(new LinkedHashMap<>());

Review Comment:
   Please ignore this comment. I guess it was in draft mode for a long time and 
somehow it was submitted now along with the other comments I posted.



-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to