yiyuaner commented on a change in pull request #3048:
URL: https://github.com/apache/hadoop/pull/3048#discussion_r639400894



##########
File path: 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/kms/LoadBalancingKMSClientProvider.java
##########
@@ -233,6 +233,10 @@ private LoadBalancingKMSClientProvider(URI uri,
   }
 
   private int nextIdx() {
+    if (providers.length == 0) {

Review comment:
       Ok. I have moved the checks to the constructor.




-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to