hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Sigoure (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-9006) RPC code requires cellBlockCodecClass even though one is defined by default
Date Sat, 20 Jul 2013 07:22:49 GMT

     [ https://issues.apache.org/jira/browse/HBASE-9006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benoit Sigoure updated HBASE-9006:
----------------------------------

    Attachment: 0001-Don-t-require-a-cellBlockCodecClass-in-the-RPC-heade.patch

Patch that fixes the issue.
                
> 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

Mime
View raw message