HBASE-4710 UnknownProtocolException should abort client retries as a DoNotRetryIOException
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196185 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
04ace586de
commit
e34c773792
|
@ -432,6 +432,7 @@ Release 0.92.0 - Unreleased
|
|||
HBASE-4613 hbase.util.Threads#threadDumpingIsAlive sleeps 1 second,
|
||||
slowing down the shutdown by 0.5s
|
||||
HBASE-4552 multi-CF bulk load is not atomic across column families (Jonathan Hsieh)
|
||||
HBASE-4710 UnknownProtocolException should abort client retries
|
||||
|
||||
TESTS
|
||||
HBASE-4450 test for number of blocks read: to serve as baseline for expected
|
||||
|
|
|
@ -185,6 +185,11 @@ public class HBaseRPC {
|
|||
public static class UnknownProtocolException extends DoNotRetryIOException {
|
||||
private Class<?> protocol;
|
||||
|
||||
public UnknownProtocolException(String mesg) {
|
||||
// required for unwrapping from a RemoteException
|
||||
super(mesg);
|
||||
}
|
||||
|
||||
public UnknownProtocolException(Class<?> protocol) {
|
||||
this(protocol, "Server is not handling protocol "+protocol.getName());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue