dineshchitlangia commented on a change in pull request #236: HDDS-2284.
XceiverClientMetrics should be initialised as part of XceiverClientManager
constructor. Contributed by Mukul Kumar Singh.
URL: https://github.com/apache/hadoop-ozone/pull/236#discussion_r348551260
##########
File path:
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientGrpc.java
##########
@@ -212,7 +212,7 @@ public synchronized void close() {
for (ManagedChannel channel : channels.values()) {
channel.shutdownNow();
try {
- channel.awaitTermination(60, TimeUnit.MINUTES);
+ channel.awaitTermination(5, TimeUnit.SECONDS);
Review comment:
Great catch!
----------------------------------------------------------------
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]