HBASE-12334 Handling of DeserializationException causes needless retry on failure.
This commit is contained in:
parent
97acb9ef24
commit
6c7543c9c7
|
@ -1447,7 +1447,9 @@ public final class ProtobufUtil {
|
|||
}
|
||||
return (Filter)parseFrom.invoke(c, value);
|
||||
} catch (Exception e) {
|
||||
throw new IOException(e);
|
||||
// Either we couldn't instantiate the method object, or "parseFrom" failed.
|
||||
// In either case, let's not retry.
|
||||
throw new DoNotRetryIOException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue