hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6785) Convert AggregateProtocol to protobuf defined coprocessor service
Date Wed, 03 Oct 2012 02:10:07 GMT

    [ https://issues.apache.org/jira/browse/HBASE-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13468260#comment-13468260

Ted Yu commented on HBASE-6785:

Thanks Devaraj for being considerate.
w.r.t. the placeholder 'bytes' for the ColumnInterpreter serialization, let's consider the
following interpreter from HBASE-6669:
+public class BigDecimalColumnInterpreter implements
+    ColumnInterpreter<BigDecimal, BigDecimal> {
+  private BigDecimal minValue;
+  private BigDecimal maxValue;
Looks like the user may need to serialize more than one field.
How about changing the field to this:
    optional repeated bytes interpreterSpecificBytes = 2;
> Convert AggregateProtocol to protobuf defined coprocessor service
> -----------------------------------------------------------------
>                 Key: HBASE-6785
>                 URL: https://issues.apache.org/jira/browse/HBASE-6785
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>            Reporter: Gary Helmling
>            Assignee: Devaraj Das
>             Fix For: 0.96.0
>         Attachments: Aggregate.proto
> With coprocessor endpoints now exposed as protobuf defined services, we should convert
over all of our built-in endpoints to PB services.

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

View raw message