You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "difin (via GitHub)" <gi...@apache.org> on 2023/02/27 13:54:23 UTC
[GitHub] [hive] difin commented on a diff in pull request #4082: HIVE-27105: Parquet and kafka-client both use zstd-jni. Upgrading kaf…
difin commented on code in PR #4082:
URL: https://github.com/apache/hive/pull/4082#discussion_r1118766580
##########
kafka-handler/src/java/org/apache/hadoop/hive/kafka/KafkaStorageHandler.java:
##########
@@ -310,7 +311,7 @@ private String getQueryId() {
RetryUtils.CleanupAfterFailure cleanUpTheMap = new RetryUtils.CleanupAfterFailure() {
@Override public void cleanup() {
- producersMap.forEach((s, producer) -> producer.close(0, TimeUnit.MILLISECONDS));
+ producersMap.forEach((s, producer) -> producer.close(Duration.ofMillis(TimeUnit.MILLISECONDS.toMillis(0))));
Review Comment:
Makes sense, fixed.
--
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-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org