hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Antonov <olorinb...@gmail.com>
Subject Re: Silly question... Coprocessor writes to ZK?
Date Fri, 05 Sep 2014 01:23:50 GMT
I think ZK isn't the best possible storage for statistics. A separate stats
table may be better solution.

-Mikhail


2014-09-04 15:48 GMT-07:00 Michael Segel <michael_segel@hotmail.com>:

> So suppose I want to capture metadata about a table across all of the
> regions for that table.
>
> Has anyone used a coprocessor to capture a region’s statistics and push
> them up to ZK where its stored by (table, region, <metadata object>) and
> then a table wide value is also stored based on a computational update?
>
> So if I wanted to store the row counts for each region of a table,  each
> region would update its record in ZK on each insert / delete (can you
> easily remove a tombstone?) and then update the computational value?
> (Assuming you could lock those values for a short enough time to do the
> quick computation. If not, then it can be computed on the fly)
>
> Has this been done?
>
> Thoughts?
>
>


-- 
Thanks,
Michael Antonov

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