You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2013/07/21 06:43:39 UTC
svn commit: r1505269 -
/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
Author: stack
Date: Sun Jul 21 04:43:38 2013
New Revision: 1505269
URL: http://svn.apache.org/r1505269
Log:
HBASE-9006 RPC code requires cellBlockCodecClass even though one is defined by default
Modified:
hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java?rev=1505269&r1=1505268&r2=1505269&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java (original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java Sun Jul 21 04:43:38 2013
@@ -1534,7 +1534,6 @@ public class RpcServer implements RpcSer
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();