hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-18482) Enable state to be passed between the batch mutate coprocessors
Date Mon, 31 Jul 2017 16:55:00 GMT

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

James Taylor resolved HBASE-18482.
    Resolution: Duplicate

Yes, duplicate of HBASE-18127, but the summary of that one should be changed to reflect what
problem it's solving IMHO.

> Enable state to be passed between the batch mutate coprocessors
> ---------------------------------------------------------------
>                 Key: HBASE-18482
>                 URL: https://issues.apache.org/jira/browse/HBASE-18482
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: James Taylor
> For secondary indexing, Phoenix leverages the coprocessors that fire during the processing
of a batch mutate: preBatchMutate, postBatchMutate, and postBatchMutateIndispensably. It would
be very helpful if we had a way of passing state between these calls. One solution would be
to provide a member variable in the MiniBatchOperationInProgress class that gets passed from
invocation to invocation. Within doMiniBatchMutation, the instantiation of the MiniBatchOperationInProgress
would simply set this context member variable based on the value from the previous MiniBatchOperationInProgress
instantiation. Another solution would be to allow the a context object to be set on the ObserverContext
which would then be available to the other calls.

This message was sent by Atlassian JIRA

View raw message