You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Jignesh Patel <ji...@gmail.com> on 2011/11/07 16:29:34 UTC
multiple rows with same unique row+dynamic update
Companies like Facebook and Stumble upon uses HBase for the day to day
transaction. Since HBase and HDFS both are not going to support
dynamic updates, how would they able to keep track of unique customer
id(which is normally row ID) in HBase?
Also wanted to know is there a work-around to handle dynamic update?
-Jignesh
Re: multiple rows with same unique row+dynamic update
Posted by Jean-Daniel Cryans <jd...@apache.org>.
You might want to (re)read this: http://hbase.apache.org/book/versions.html
There's no conflict.
J-D
On Mon, Nov 7, 2011 at 4:24 PM, Jignesh Patel <ji...@gmail.com> wrote:
> Jean,
> Is that a new row or part of same row? And I believe this data will go
> to new file.
> Because my row id is still same:jigneshmpatel, shouldn't it create
> conflict if it is a new version.
>
> -Jignesh
>
> On Mon, Nov 7, 2011 at 11:07 AM, Jean-Daniel Cryans <jd...@apache.org> wrote:
>> column3name:Phone would have a new version, yes.
>>
>> On Mon, Nov 7, 2011 at 4:02 PM, Jignesh Patel <ji...@gmail.com> wrote:
>>> Is that new entry or update in HBase?
>>>
>>> -Jignesh
>>>
>>> On Mon, Nov 7, 2011 at 10:46 AM, Jean-Daniel Cryans <jd...@apache.org> wrote:
>>>> ok that works... what's the issue?
>>>>
>>>> On Mon, Nov 7, 2011 at 3:44 PM, Jignesh Patel <ji...@gmail.com> wrote:
>>>>> I have say
>>>>> uniqname(rowid) :jigneshmpatel
>>>>> columnfamily:Data
>>>>> comun1name: address 1: Value1
>>>>> comun2name:address2: value2
>>>>> column3name:Phone: 1234
>>>>>
>>>>> and now after one week
>>>>>
>>>>>
>>>>> uniqname(rowid) :jigneshmpatel
>>>>> columnfamily:Data
>>>>> comun1name: address 1: Value4
>>>>> comun2name:address2: value5
>>>>> column3name:Phone: 5678.
>>>>>
>>>>> -Jignesh
>>>>>
>>>>> On Mon, Nov 7, 2011 at 10:38 AM, Jean-Daniel Cryans <jd...@apache.org> wrote:
>>>>>> What do you mean by dynamic update? Replace one value by another?
>>>>>> HBase does that.
>>>>>>
>>>>>> J-D
>>>>>>
>>>>>> On Mon, Nov 7, 2011 at 3:29 PM, Jignesh Patel <ji...@gmail.com> wrote:
>>>>>>> Companies like Facebook and Stumble upon uses HBase for the day to day
>>>>>>> transaction. Since HBase and HDFS both are not going to support
>>>>>>> dynamic updates, how would they able to keep track of unique customer
>>>>>>> id(which is normally row ID) in HBase?
>>>>>>>
>>>>>>> Also wanted to know is there a work-around to handle dynamic update?
>>>>>>>
>>>>>>>
>>>>>>> -Jignesh
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
Re: multiple rows with same unique row+dynamic update
Posted by Jignesh Patel <ji...@gmail.com>.
Jean,
Is that a new row or part of same row? And I believe this data will go
to new file.
Because my row id is still same:jigneshmpatel, shouldn't it create
conflict if it is a new version.
-Jignesh
On Mon, Nov 7, 2011 at 11:07 AM, Jean-Daniel Cryans <jd...@apache.org> wrote:
> column3name:Phone would have a new version, yes.
>
> On Mon, Nov 7, 2011 at 4:02 PM, Jignesh Patel <ji...@gmail.com> wrote:
>> Is that new entry or update in HBase?
>>
>> -Jignesh
>>
>> On Mon, Nov 7, 2011 at 10:46 AM, Jean-Daniel Cryans <jd...@apache.org> wrote:
>>> ok that works... what's the issue?
>>>
>>> On Mon, Nov 7, 2011 at 3:44 PM, Jignesh Patel <ji...@gmail.com> wrote:
>>>> I have say
>>>> uniqname(rowid) :jigneshmpatel
>>>> columnfamily:Data
>>>> comun1name: address 1: Value1
>>>> comun2name:address2: value2
>>>> column3name:Phone: 1234
>>>>
>>>> and now after one week
>>>>
>>>>
>>>> uniqname(rowid) :jigneshmpatel
>>>> columnfamily:Data
>>>> comun1name: address 1: Value4
>>>> comun2name:address2: value5
>>>> column3name:Phone: 5678.
>>>>
>>>> -Jignesh
>>>>
>>>> On Mon, Nov 7, 2011 at 10:38 AM, Jean-Daniel Cryans <jd...@apache.org> wrote:
>>>>> What do you mean by dynamic update? Replace one value by another?
>>>>> HBase does that.
>>>>>
>>>>> J-D
>>>>>
>>>>> On Mon, Nov 7, 2011 at 3:29 PM, Jignesh Patel <ji...@gmail.com> wrote:
>>>>>> Companies like Facebook and Stumble upon uses HBase for the day to day
>>>>>> transaction. Since HBase and HDFS both are not going to support
>>>>>> dynamic updates, how would they able to keep track of unique customer
>>>>>> id(which is normally row ID) in HBase?
>>>>>>
>>>>>> Also wanted to know is there a work-around to handle dynamic update?
>>>>>>
>>>>>>
>>>>>> -Jignesh
>>>>>>
>>>>>
>>>>
>>>
>>
>
Re: multiple rows with same unique row+dynamic update
Posted by Jean-Daniel Cryans <jd...@apache.org>.
column3name:Phone would have a new version, yes.
On Mon, Nov 7, 2011 at 4:02 PM, Jignesh Patel <ji...@gmail.com> wrote:
> Is that new entry or update in HBase?
>
> -Jignesh
>
> On Mon, Nov 7, 2011 at 10:46 AM, Jean-Daniel Cryans <jd...@apache.org> wrote:
>> ok that works... what's the issue?
>>
>> On Mon, Nov 7, 2011 at 3:44 PM, Jignesh Patel <ji...@gmail.com> wrote:
>>> I have say
>>> uniqname(rowid) :jigneshmpatel
>>> columnfamily:Data
>>> comun1name: address 1: Value1
>>> comun2name:address2: value2
>>> column3name:Phone: 1234
>>>
>>> and now after one week
>>>
>>>
>>> uniqname(rowid) :jigneshmpatel
>>> columnfamily:Data
>>> comun1name: address 1: Value4
>>> comun2name:address2: value5
>>> column3name:Phone: 5678.
>>>
>>> -Jignesh
>>>
>>> On Mon, Nov 7, 2011 at 10:38 AM, Jean-Daniel Cryans <jd...@apache.org> wrote:
>>>> What do you mean by dynamic update? Replace one value by another?
>>>> HBase does that.
>>>>
>>>> J-D
>>>>
>>>> On Mon, Nov 7, 2011 at 3:29 PM, Jignesh Patel <ji...@gmail.com> wrote:
>>>>> Companies like Facebook and Stumble upon uses HBase for the day to day
>>>>> transaction. Since HBase and HDFS both are not going to support
>>>>> dynamic updates, how would they able to keep track of unique customer
>>>>> id(which is normally row ID) in HBase?
>>>>>
>>>>> Also wanted to know is there a work-around to handle dynamic update?
>>>>>
>>>>>
>>>>> -Jignesh
>>>>>
>>>>
>>>
>>
>
Re: multiple rows with same unique row+dynamic update
Posted by Jignesh Patel <ji...@gmail.com>.
Is that new entry or update in HBase?
-Jignesh
On Mon, Nov 7, 2011 at 10:46 AM, Jean-Daniel Cryans <jd...@apache.org> wrote:
> ok that works... what's the issue?
>
> On Mon, Nov 7, 2011 at 3:44 PM, Jignesh Patel <ji...@gmail.com> wrote:
>> I have say
>> uniqname(rowid) :jigneshmpatel
>> columnfamily:Data
>> comun1name: address 1: Value1
>> comun2name:address2: value2
>> column3name:Phone: 1234
>>
>> and now after one week
>>
>>
>> uniqname(rowid) :jigneshmpatel
>> columnfamily:Data
>> comun1name: address 1: Value4
>> comun2name:address2: value5
>> column3name:Phone: 5678.
>>
>> -Jignesh
>>
>> On Mon, Nov 7, 2011 at 10:38 AM, Jean-Daniel Cryans <jd...@apache.org> wrote:
>>> What do you mean by dynamic update? Replace one value by another?
>>> HBase does that.
>>>
>>> J-D
>>>
>>> On Mon, Nov 7, 2011 at 3:29 PM, Jignesh Patel <ji...@gmail.com> wrote:
>>>> Companies like Facebook and Stumble upon uses HBase for the day to day
>>>> transaction. Since HBase and HDFS both are not going to support
>>>> dynamic updates, how would they able to keep track of unique customer
>>>> id(which is normally row ID) in HBase?
>>>>
>>>> Also wanted to know is there a work-around to handle dynamic update?
>>>>
>>>>
>>>> -Jignesh
>>>>
>>>
>>
>
Re: multiple rows with same unique row+dynamic update
Posted by Jean-Daniel Cryans <jd...@apache.org>.
ok that works... what's the issue?
On Mon, Nov 7, 2011 at 3:44 PM, Jignesh Patel <ji...@gmail.com> wrote:
> I have say
> uniqname(rowid) :jigneshmpatel
> columnfamily:Data
> comun1name: address 1: Value1
> comun2name:address2: value2
> column3name:Phone: 1234
>
> and now after one week
>
>
> uniqname(rowid) :jigneshmpatel
> columnfamily:Data
> comun1name: address 1: Value4
> comun2name:address2: value5
> column3name:Phone: 5678.
>
> -Jignesh
>
> On Mon, Nov 7, 2011 at 10:38 AM, Jean-Daniel Cryans <jd...@apache.org> wrote:
>> What do you mean by dynamic update? Replace one value by another?
>> HBase does that.
>>
>> J-D
>>
>> On Mon, Nov 7, 2011 at 3:29 PM, Jignesh Patel <ji...@gmail.com> wrote:
>>> Companies like Facebook and Stumble upon uses HBase for the day to day
>>> transaction. Since HBase and HDFS both are not going to support
>>> dynamic updates, how would they able to keep track of unique customer
>>> id(which is normally row ID) in HBase?
>>>
>>> Also wanted to know is there a work-around to handle dynamic update?
>>>
>>>
>>> -Jignesh
>>>
>>
>
Re: multiple rows with same unique row+dynamic update
Posted by Jignesh Patel <ji...@gmail.com>.
I have say
uniqname(rowid) :jigneshmpatel
columnfamily:Data
comun1name: address 1: Value1
comun2name:address2: value2
column3name:Phone: 1234
and now after one week
uniqname(rowid) :jigneshmpatel
columnfamily:Data
comun1name: address 1: Value4
comun2name:address2: value5
column3name:Phone: 5678.
-Jignesh
On Mon, Nov 7, 2011 at 10:38 AM, Jean-Daniel Cryans <jd...@apache.org> wrote:
> What do you mean by dynamic update? Replace one value by another?
> HBase does that.
>
> J-D
>
> On Mon, Nov 7, 2011 at 3:29 PM, Jignesh Patel <ji...@gmail.com> wrote:
>> Companies like Facebook and Stumble upon uses HBase for the day to day
>> transaction. Since HBase and HDFS both are not going to support
>> dynamic updates, how would they able to keep track of unique customer
>> id(which is normally row ID) in HBase?
>>
>> Also wanted to know is there a work-around to handle dynamic update?
>>
>>
>> -Jignesh
>>
>
Re: multiple rows with same unique row+dynamic update
Posted by Jean-Daniel Cryans <jd...@apache.org>.
What do you mean by dynamic update? Replace one value by another?
HBase does that.
J-D
On Mon, Nov 7, 2011 at 3:29 PM, Jignesh Patel <ji...@gmail.com> wrote:
> Companies like Facebook and Stumble upon uses HBase for the day to day
> transaction. Since HBase and HDFS both are not going to support
> dynamic updates, how would they able to keep track of unique customer
> id(which is normally row ID) in HBase?
>
> Also wanted to know is there a work-around to handle dynamic update?
>
>
> -Jignesh
>