[
https://issues.apache.org/jira/browse/HBASE-9006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714418#comment-13714418
]
Ted Yu commented on HBASE-9006:
-------------------------------
Looks good to me.
> RPC code requires cellBlockCodecClass even though one is defined by default
> ---------------------------------------------------------------------------
>
> Key: HBASE-9006
> URL: https://issues.apache.org/jira/browse/HBASE-9006
> Project: HBase
> Issue Type: Bug
> Components: IPC/RPC
> Affects Versions: 0.95.1
> Reporter: Benoit Sigoure
> Assignee: Benoit Sigoure
> Priority: Minor
> Attachments:
> 0001-Don-t-require-a-cellBlockCodecClass-in-the-RPC-heade.patch
>
>
> The protobuf definition provides a default value:
> {code}
> // This is sent on connection setup after the connection preamble is sent.
> message ConnectionHeader {
> [...]
> optional string cellBlockCodecClass = 3 [default =
> "org.apache.hadoop.hbase.codec.KeyValueCodec"];
> // Compressor we will use if cell block is compressed. Server will throw
> exception if not supported.
> // Class must implement hadoop's CompressionCodec Interface
> [...]
> }
> {code}
> Yet if one doesn't explicitly set a value, the code was rejecting the
> connection.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira