hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akmal Abbasov <akmal.abba...@icloud.com>
Subject Re: HBase snapshot custom directory
Date Wed, 29 Apr 2015 22:27:02 GMT
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 <theo.bertozzi@gmail.com> 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 <akmal.abbasov@icloud.com>
> 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
>> 


Mime
View raw message