On Tue, May 31, 2011 at 11:05 AM, Sandy Pratt <[email protected]> wrote: > Hi all, > > I'm doing some work to read records directly from the HFiles of a damaged > table. When I scan through the records in the HFile using > org.apache.hadoop.hbase.io.hfile.HFileScanner, will I get only the latest > version of the record as with a default HBase Scan? Or do I need to do some > work to pull out the latest version from several? >
It looks like it just returns all entries in the hfile. See tests -- e.g. TestHFile -- for how to make make an HFile Reader instance and pull the values. The tail of HFile has some examples too? Tell us about the 'damaged table'. St.Ack.
