hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajeshkumar J <rajeshkumarit8...@gmail.com>
Subject Re: Row Versions in Apache Hbase
Date Tue, 01 Dec 2015 07:33:05 GMT
Hi

  I meant like below is this possible

Rowkey | column family

               Name | Age

1212     |   xxxx | 20
1212     |  yyyy | 21
1212  | zzzz | 22

On Tue, Dec 1, 2015 at 12:03 PM, Heng Chen <heng.chen.1986@gmail.com> wrote:

> why not
>
> 1212 | 10, 11, 12, 13, 14, 15, 16, 27,  28 ?
>
> 2015-12-01 14:29 GMT+08:00 Rajeshkumar J <rajeshkumarit8292@gmail.com>:
>
> > Hi Ted,
> >
> >   This is my use case. I have to store values like this is it possible?
> >
> > RowKey | Values
> >
> > 1212   | 10,11,12
> >
> > 1212  | 13, 14, 15
> >
> > 1212  | 16,27,28
> >
> > Thanks
> >
> >
> > On Mon, Nov 30, 2015 at 10:40 PM, Ted Yu <yuzhihong@gmail.com> wrote:
> >
> > > Have you read http://hbase.apache.org/book.html#rowkey.design ?
> > >
> > > bq. we can store more than one row for a row-key value.
> > >
> > > Can you clarify your intention / use case ? If row key is the same, key
> > > values would be in the same row.
> > >
> > > On Mon, Nov 30, 2015 at 8:30 AM, Rajeshkumar J <
> > > rajeshkumarit8292@gmail.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > >   I am new to Apache Hbase and I know that in a table when we try to
> > > insert
> > > > row key value which is already present either new value is discarded
> or
> > > > updated. Also I came across row version through which we can store
> > > > different versions of row key based on timestamp. Any one correct me
> > if I
> > > > am wrong? Also I need to know is there any way we can store more than
> > one
> > > > row for a row-key value.
> > > >
> > > > Thanks
> > > >
> > >
> >
>

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