hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerry He <jerry...@gmail.com>
Subject Re: Hbase Snapshot Export Data storage
Date Fri, 05 Jan 2018 21:02:56 GMT
Keeping the data files in the /hbase/archive is the way how snapshot (and
exported snapshot) works.
There are reference links to them so that they are not actually
And restored snapshot will answer client query by following the
reference links to these data files.
It is not necessary to do compaction just to rewrite the data files back to
/hbase/data to access the data.



On Thu, Jan 4, 2018 at 7:57 PM, Subash Kunjupillai <subash.k@ericsson.com>

> Hi,
> I was just trying to understand on what basis this best practice is advised
> to run major compaction immediately after restoring snapshot?
> Because in our system, we have a scheduled Major Compaction which runs
> every
> day for this table. If new data is going to fall in /hbase/data in the
> destination cluster, at the end of the day scheduled major compaction can
> move the data brought in with snapshot from /hbase/archive to /hbase/data
> and compact new data loaded on that particular day.
> Please let me know how immediate major compaction is going to benefit the
> cluster?
> Regards,
> Subash Kunjupillai
> --
> Sent from: http://apache-hbase.679495.n3.nabble.com/HBase-User-
> f4020416.html

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