Please also note the following method in HRegionFileSystem (available in
0.98+):
public Collection<StoreFileInfo> getStoreFiles(final byte[] familyName)
throws IOException {
Cheers
On Mon, Jun 16, 2014 at 2:23 AM, Dima Spivak <[email protected]> wrote:
> Dear ch,
>
> HBase tables are stored in HDFS following a hierarchy that mimics your
> table's schema. In particular, check out the following section of the ref
> guide:
>
> http://hbase.apache.org/book/trouble.namenode.html#trouble.namenode.hbase.objects
> . Once you understand that, you can basically just do a recursive list
> through HDFS at the granularity level you'd like to count the number of
> HFiles.
>
> Cheers,
> Dima
>
>
> On Mon, Jun 16, 2014 at 12:49 AM, ch huang <[email protected]> wrote:
>
> > hi maillist:
> > i want to campare the number of store file before and
> > after minor compaction ,but how can i calculate number of store file
> > first?
> >
>