duongkame opened a new pull request, #4679:
URL: https://github.com/apache/ozone/pull/4679

   ## What changes were proposed in this pull request?
   The method SCMSecurityProtocolFailoverProxyProvider.close always throws an 
error:
   
   ```
   java.lang.IllegalArgumentException: not a proxy instance
       at java.lang.reflect.Proxy.getInvocationHandler(Proxy.java:816)
       at org.apache.hadoop.ipc.RPC.stopProxy(RPC.java:802)
       at 
org.apache.hadoop.hdds.scm.proxy.SCMSecurityProtocolFailoverProxyProvider.close(SCMSecurityProtocolFailoverProxyProvider.java:292)
       at 
org.apache.hadoop.io.retry.RetryInvocationHandler$ProxyDescriptor.close(RetryInvocationHandler.java:235)
       at 
org.apache.hadoop.io.retry.RetryInvocationHandler.close(RetryInvocationHandler.java:455)
       at org.apache.hadoop.ipc.RPC.stopProxy(RPC.java:804)
       at 
org.apache.hadoop.hdds.protocolPB.SCMSecurityProtocolClientSideTranslatorPB.close(SCMSecurityProtocolClientSideTranslatorPB.java:147)
 
   ```
   
   The error is not visible because it's tied to 
SCMSecurityProtocolClientSideTranslatorPB which is not closed until services 
are shut down.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-8570
   
   ## How was this patch tested?
   
   Updated integ test


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

Reply via email to