you should not access/modify the /hbase directory directly. but after export you can use the "delete_snapshot" command or Admin.deleteSnapshot() API to delete it.
Matteo On Wed, Apr 29, 2015 at 11:27 PM, Akmal Abbasov <[email protected]> wrote: > Hi Matteo, > Thank you, for a quick reply. > In this case, after exporting a snapshot to the location I want in my > local machine, > can I delete the same snapshot from the default location, > /hbase/.hbase-snapshot ? > Thank you. > > Regards, > Akmal Abbasov > > On 30 Apr 2015, at 00:17, Matteo Bertozzi <[email protected]> > wrote: > > > > on export you can specify any path > > $ hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot > > MySnapshot -copy-to hdfs://MY_SERVER:MY_PORT/MY_LOCATION > > > > so you can do: > > $ hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot > > MySnapshot -copy-to hdfs://localhost/backup/january-2015 > > > > Matteo > > > > > > On Wed, Apr 29, 2015 at 11:08 PM, Akmal Abbasov < > [email protected]> > > wrote: > > > >> Hi all, > >> Is it possible to specify the output HDFS directory for HBase snapshot? > >> It could be very helpful to keep snapshots sorted according to a date. > >> Thank you. > >> > >> Regards, > >> Akmal Abbasov > >> > >
