HBASE-9978 The client retries even if the method is not present on the server
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1546961 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
178d0b918e
commit
93bf3fe0a5
|
@ -1713,6 +1713,12 @@ public class RpcServer implements RpcServerInterface {
|
|||
} catch (Throwable t) {
|
||||
String msg = "Unable to read call parameter from client " + getHostAddress();
|
||||
LOG.warn(msg, t);
|
||||
|
||||
// If the method is not present on the server, do not retry.
|
||||
if (t instanceof UnsupportedOperationException) {
|
||||
t = new DoNotRetryIOException(t);
|
||||
}
|
||||
|
||||
final Call readParamsFailedCall =
|
||||
new Call(id, this.service, null, null, null, null, this,
|
||||
responder, totalRequestSize, null);
|
||||
|
|
Loading…
Reference in New Issue