hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Mogenet <adrien.moge...@gmail.com>
Subject Re: Get the latest timestamp of a Storefile
Date Sun, 18 Aug 2013 12:42:39 GMT
Alright, then I've opened a ticket to put what I have in mind (
https://issues.apache.org/jira/browse/HBASE-9260)

I did some basic code changes and tests to see/check if it's really
relevant...


On Fri, Aug 16, 2013 at 11:48 AM, Ted Yu <yuzhihong@gmail.com> wrote:

> That is Okay.
> Feel free to share with us your new feature.
>
> Just a reminder that the maximum time stamp may not correspond to Put.
>
> On Aug 15, 2013, at 11:45 PM, Adrien Mogenet <adrien.mogenet@gmail.com>
> wrote:
>
> > Thanks Ted,
> >
> > Sorry for my beginner's question, I've just started diving into the
> > internals to add some features, and I was probably tired... (basic excuse
> > ;-))
> >
> >
> > On Fri, Aug 16, 2013 at 12:12 AM, Ted Yu <yuzhihong@gmail.com> wrote:
> >
> >> From TimeRangeTracker.java javadoc:
> >>
> >> * Stores the minimum and maximum timestamp values (both are inclusive).
> >>
> >> * Can be used to find if any given time range overlaps with its time
> range
> >>
> >>
> >> FYI
> >>
> >>
> >> On Thu, Aug 15, 2013 at 2:29 PM, Adrien Mogenet <
> adrien.mogenet@gmail.com
> >>> wrote:
> >>
> >>> Hi there,
> >>>
> >>> I'm currently trying to get the latest timestamp among StoreFile's
> >>> KeyValues; there is a method to get the earliest one, but not an
> explicit
> >>> method to get the latest.
> >>>
> >>> I've found a `TIMERANGE_KEY`, is it the right key to use to retrieve
> such
> >>> information within the metadata map?
> >>>
> >>> Thanks,
> >>>
> >>> --
> >>> Adrien Mogenet
> >>> http://www.borntosegfault.com
> >
> >
> >
> > --
> > Adrien Mogenet
> > http://www.borntosegfault.com
>



-- 
Adrien Mogenet
http://www.borntosegfault.com

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