phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Taylor <jamestay...@apache.org>
Subject Re: Phoenix index update on direct HBase row update
Date Fri, 16 Jun 2017 02:40:41 GMT
See MutationState.setMetaDataOnMutations(). We either make a separate RPC
so as not to put too much data on every mutation or we attach the metadata
on every mutation.

On Thu, Jun 15, 2017 at 6:17 PM, Batyrshin Alexander <0x62ash@gmail.com>
wrote:

> What metadata is needed? Maybe you point me to example or to related
> source code of Phoenix API?
>
> On 16 Jun 2017, at 03:41, James Taylor <jamestaylor@apache.org> wrote:
>
> No, not unless you write the code that keeps the index in sync yourself,
> attach the metadata needed by index maintenance coprocessor in your update
> code, or use the Phoenix update APIs which do this for you.
>
> On Thu, Jun 15, 2017 at 5:29 PM, Batyrshin Alexander <0x62ash@gmail.com>
> wrote:
>
>>  We updates our HBase table directly without Phoenix. Is it possible to
>> make indexes keep in sync with this updates?
>
>
>
>

Mime
View raw message