hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cuijianwei (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10096) make BulkDeleteResponse implement Writable to reduce the transfer size for rpc
Date Fri, 06 Dec 2013 09:51:41 GMT

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

cuijianwei updated HBASE-10096:
-------------------------------

    Attachment: HBASE-10096-0.94-v1.patch

This patch make BulkDeleteResponse implement Writable interface and implement write and readFields
method.

> make BulkDeleteResponse implement Writable to reduce the transfer size for rpc
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-10096
>                 URL: https://issues.apache.org/jira/browse/HBASE-10096
>             Project: HBase
>          Issue Type: Improvement
>          Components: Coprocessors, Performance
>            Reporter: cuijianwei
>         Attachments: HBASE-10096-0.94-v1.patch
>
>
> As [https://issues.apache.org/jira/browse/HBASE-6942] introduced, BulkDeleteEndpoint
provides 'delete' method which performs like sql : "delete from table where ...". BulkDeleteEndpoint
is efficient because it can complete scan and delete in one rpc and also could be implemented
parallelly in different regions using coprocessor. BulkDeleteResponse is represents the result
of BulkDeleteEndpoint.delete and will be serialized using a standard java serializable way.
However, the serialized length of BulkDeleteResponse will be longer than one hundred byte
length and may be not efficient enough to pass  on the network. Therefore, is it better to
make BulkDeleteResponse implement Writable interface and provide more efficient serialize
method?



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message