Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18928

Backup delete command shows wrong number of deletes requested

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0-alpha-4, 2.0.0
    • None
    • None
    • Reviewed

    Description

      ./hbase backup delete backup_1506934800496 backup_1506934749163

      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

      Attachments

        1. HBASE-18928.patch
          1 kB
          Amit Kabra
        2. HBASE-18928.v2.patch.txt
          1 kB
          Amit Kabra

        Issue Links

          Activity

            People

              amitkabraiiit Amit Kabra
              amitkabraiiit Amit Kabra
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: