[ 
https://issues.apache.org/jira/browse/HBASE-18928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amit Kabra updated HBASE-18928:
-------------------------------
    Description: 
{code}./hbase backup delete backup_1506934800496 backup_1506934749163{code}

2017-10-02 14:55:39,788 WARN  [main] util.NativeCodeLoader: Unable to load 
native-hadoop library for your platform... using builtin-java classes where 
applicable
2017-10-02 14:55:40,151 WARN  [main] shortcircuit.DomainSocketFactory: The 
short-circuit local reads feature cannot be used because libhadoop cannot be 
loaded.
Please make sure that backup is enabled on the cluster. To enable backup, in 
hbase-site.xml, set:
 hbase.backup.enable=true
hbase.master.logcleaner.plugins=YOUR_PLUGINS,org.apache.hadoop.hbase.backup.master.BackupLogCleaner
hbase.procedure.master.classes=YOUR_CLASSES,org.apache.hadoop.hbase.backup.master.LogRollMasterProcedureManager
hbase.procedure.regionserver.classes=YOUR_CLASSES,org.apache.hadoop.hbase.backup.regionserver.LogRollRegionServerProcedureManager
and restart the cluster
2017-10-02 14:55:40,328 INFO  [main] metrics.MetricRegistries: Loaded 
MetricRegistries class org.apache.hadoop.hbase.metrics.impl.MetricRegistriesImpl
2017-10-02 14:55:41,876 INFO  [main] impl.BackupAdminImpl: Deleting backup 
backup_1506934749163 ...
2017-10-02 14:55:41,970 INFO  [main] util.BackupUtils: No data has been found 
in hdfs://localhost:8020/test/backup_1506934749163/default/raj22.
2017-10-02 14:55:41,998 INFO  [main] impl.BackupAdminImpl: Delete backup 
backup_1506934749163 completed.
*Deleted 1 backups. Total requested: 3*


  was:
{code}./hbase backup delete backup_1506934800496 backup_1506934749163{code}

2017-10-02 14:55:39,788 WARN  [main] util.NativeCodeLoader: Unable to load 
native-hadoop library for your platform... using builtin-java classes where 
applicable
2017-10-02 14:55:40,151 WARN  [main] shortcircuit.DomainSocketFactory: The 
short-circuit local reads feature cannot be used because libhadoop cannot be 
loaded.
Please make sure that backup is enabled on the cluster. To enable backup, in 
hbase-site.xml, set:
 hbase.backup.enable=true
hbase.master.logcleaner.plugins=YOUR_PLUGINS,org.apache.hadoop.hbase.backup.master.BackupLogCleaner
hbase.procedure.master.classes=YOUR_CLASSES,org.apache.hadoop.hbase.backup.master.LogRollMasterProcedureManager
hbase.procedure.regionserver.classes=YOUR_CLASSES,org.apache.hadoop.hbase.backup.regionserver.LogRollRegionServerProcedureManager
and restart the cluster
2017-10-02 14:55:40,328 INFO  [main] metrics.MetricRegistries: Loaded 
MetricRegistries class org.apache.hadoop.hbase.metrics.impl.MetricRegistriesImpl
2017-10-02 14:55:41,876 INFO  [main] impl.BackupAdminImpl: Deleting backup 
backup_1506934749163 ...
2017-10-02 14:55:41,970 INFO  [main] util.BackupUtils: No data has been found 
in hdfs://localhost:8020/saleforce/backup_1506934749163/default/raj22.
2017-10-02 14:55:41,998 INFO  [main] impl.BackupAdminImpl: Delete backup 
backup_1506934749163 completed.
*Deleted 1 backups. Total requested: 3*



> Backup delete command shows wrong number of delete requested
> ------------------------------------------------------------
>
>                 Key: HBASE-18928
>                 URL: https://issues.apache.org/jira/browse/HBASE-18928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Amit Kabra
>            Assignee: Amit Kabra
>            Priority: Minor
>
> {code}./hbase backup delete backup_1506934800496 backup_1506934749163{code}
> 2017-10-02 14:55:39,788 WARN  [main] util.NativeCodeLoader: Unable to load 
> native-hadoop library for your platform... using builtin-java classes where 
> applicable
> 2017-10-02 14:55:40,151 WARN  [main] shortcircuit.DomainSocketFactory: The 
> short-circuit local reads feature cannot be used because libhadoop cannot be 
> loaded.
> Please make sure that backup is enabled on the cluster. To enable backup, in 
> hbase-site.xml, set:
>  hbase.backup.enable=true
> hbase.master.logcleaner.plugins=YOUR_PLUGINS,org.apache.hadoop.hbase.backup.master.BackupLogCleaner
> hbase.procedure.master.classes=YOUR_CLASSES,org.apache.hadoop.hbase.backup.master.LogRollMasterProcedureManager
> hbase.procedure.regionserver.classes=YOUR_CLASSES,org.apache.hadoop.hbase.backup.regionserver.LogRollRegionServerProcedureManager
> and restart the cluster
> 2017-10-02 14:55:40,328 INFO  [main] metrics.MetricRegistries: Loaded 
> MetricRegistries class 
> org.apache.hadoop.hbase.metrics.impl.MetricRegistriesImpl
> 2017-10-02 14:55:41,876 INFO  [main] impl.BackupAdminImpl: Deleting backup 
> backup_1506934749163 ...
> 2017-10-02 14:55:41,970 INFO  [main] util.BackupUtils: No data has been found 
> in hdfs://localhost:8020/test/backup_1506934749163/default/raj22.
> 2017-10-02 14:55:41,998 INFO  [main] impl.BackupAdminImpl: Delete backup 
> backup_1506934749163 completed.
> *Deleted 1 backups. Total requested: 3*



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to