Anil is right. Dropping/modifying source tables should not affect snapshots/cloned tables. If a source table is dropped, HBase will retain the HFiles referenced by the snapshot in the archive directory. Any HFile referred to by a table or snapshot will not be deleted by the HFileCleaner. Only when that snapshot/cloned table is deleted/dropped will the HFiles be eligible for deletion.
On Wed, Nov 28, 2018 at 7:21 PM Anil Gupta <[email protected]> wrote: > Cloned table and snapshots should not have any impact if you drop source > table. > > Sent from my iPhone > > > On Nov 28, 2018, at 5:23 PM, William Shen <[email protected]> > wrote: > > > > Hi, > > > > I understand that changes made to the tables cloned using snapshot will > not > > affect the snapshot nor the source data table the snapshot is based on. > > However, I could not find information on whether or not a snapshot or a > > cloned table will be affected by the source table getting dropped. Can > > someone chime in on the HBase behavior in this case? > > > > Thank you! >
