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

stack commented on HBASE-7413:
------------------------------

bq. Instead of size one can store record count. 

Sure.  Next iteration on rpc spec.

bq. ...just put bytes into OutputStream

Ain't that just a particular codec implementation, one that just wraps an 
OutputStream?  buildCellBlock is IPC specific (it is in IPCUtil); it is not a 
default mode. I need to build the CellBlock before I send it so i can minimally 
get its total size (because of how rpc currently is).

Thinking on it, CellBlock doesn't 'exist'; what exists is a byte array of Cells 
with metadata saying what decoder to use undoing it... (maybe I should scope 
CellBlock to IPC only or be more careful using the term and instead talk of 
CellOutputStream, etc.).






                
> Convert WAL to pb
> -----------------
>
>                 Key: HBASE-7413
>                 URL: https://issues.apache.org/jira/browse/HBASE-7413
>             Project: HBase
>          Issue Type: Sub-task
>          Components: wal
>            Reporter: stack
>            Assignee: Sergey Shelukhin
>            Priority: Critical
>             Fix For: 0.95.1
>
>         Attachments: HBASE-7413-v0.patch, HBASE-7413-v1.patch, 
> HBASE-7413-v2.patch, HBASE-7413-v3.patch
>
>
> From HBASE-7201

--
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

Reply via email to