You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Peter Haidinyak <ph...@local.com> on 2010/12/06 20:05:09 UTC

Out of order Row Id's

Hi again,
   I am trying to enter some log files into HBase using the Date and a counter as the Row Id where the counter resets for a new day. The problem I will have is we aggregate these log files from 80 different machines every ten minutes and the chance that one of machines will have a different Date is pretty high. This will cause part of the Row keys to be out of sequence. I know I can't be the first person to run across this so what would be the best way to handle this?

Thanks again for your help.

-Pete

Re: Out of order Row Id's

Posted by Shashank Tiwari <ts...@gmail.com>.
If the dates will be different due to timezone issues then you can convert
everything to UTC but if the dates are just set incorrectly then its a
separate matter.

On Dec 6, 2010 11:05 AM, "Peter Haidinyak" <ph...@local.com> wrote:

Hi again,
  I am trying to enter some log files into HBase using the Date and a
counter as the Row Id where the counter resets for a new day. The problem I
will have is we aggregate these log files from 80 different machines every
ten minutes and the chance that one of machines will have a different Date
is pretty high. This will cause part of the Row keys to be out of sequence.
I know I can't be the first person to run across this so what would be the
best way to handle this?

Thanks again for your help.

-Pete