HBASE-9006 RPC code requires cellBlockCodecClass even though one is defined by default
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1505269 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6c522b5450
commit
c923728108
|
@ -1534,7 +1534,6 @@ public class RpcServer implements RpcServerInterface {
|
|||
private void setupCellBlockCodecs(final ConnectionHeader header)
|
||||
throws FatalConnectionException {
|
||||
// TODO: Plug in other supported decoders.
|
||||
if (!header.hasCellBlockCodecClass()) throw new FatalConnectionException("No codec");
|
||||
String className = header.getCellBlockCodecClass();
|
||||
try {
|
||||
this.codec = (Codec)Class.forName(className).newInstance();
|
||||
|
|
Loading…
Reference in New Issue