hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: What if I want to write another table in MasterObserver.preModifyColumnFamily ?
Date Tue, 07 Mar 2017 20:12:18 GMT
Describing your use case would allow people to give better answer.

What kind of data do you write to other table in preModifyColumnFamily() ?

Cross server call within observer is not good idea.

Take a look at ConnectionUtils.createShortCircuitConnection().

Cheers

On Tue, Mar 7, 2017 at 11:42 AM, Xi Yang <alex.xi.yang@gmail.com> wrote:

>     All the articles I've ever seen are talking about add increment or
> change put/get status or pinrt out logs. what if I want to write some data
> to another table in Observer? For
> example, MasterObserver.preModifyColumnFamily()? Seems Observer is runing
> at server side, so use connection is unneccessary and might raise some
> problem.
>    I know this might be a stupid question, so if you can just give some
> links let me to learn without explain in email, I will be grateful to you
> for your help
>
> Thanks,
> Alex
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message