Hi Ted,

code not required for this case and how MVCC can help?

question is if I have record which come in hbase and from some api its
going for update (means get is performed)
now other operation also performed get operation both update on same rwokey
at end we will not have correct value.

in seprate mail thread i asked same type of question regarding rowkey lock,
but still i did't get correct anser

Thanks
Manjeet

On Wed, Nov 2, 2016 at 11:36 PM, Ted Yu <yuzhih...@gmail.com> wrote:

> Were you including code in the image (which didn't come through) ?
>
> MultiVersionConcurrencyControl is involved in answering your question.
>
> See http://hbase.apache.org/book.html#hregion.scans
>
> Cheers
>
> On Wed, Nov 2, 2016 at 10:57 AM, Manjeet Singh <manjeet.chand...@gmail.com
> >
> wrote:
>
> > Hi All
> >
> > I have ETL process for inserting data into hbase for this I have spark
> > jobs which are responsible for reading data from kafka topics. so my
> > question is if I have some rowkey already exist in hbase and I have 3
> spark
> > job running and they all try to update on same rowkey how hbase deal for
> > atomicity?
> >
> > for more understanding i have 3 rowkey coming from 3 seprate spark job
> and
> > all trying to update same rowkey which is already exist in hbase table.
> >
> > [image: Inline image 1]
> >
> > --
> > luv all
> >
>



-- 
luv all

Reply via email to