Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • HBASE-7912
    • None
    • None

    Description

      When executing backup in a fresh cluster, I got NPEs:
      HW10676:hbase-backup-phase-1$ bin/hbase backup create "full" file:///tmp/
      2017-01-12 16:18:10,633 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      2017-01-12 16:18:11,545 INFO [main] impl.BackupManager: Full backup all the tables available in the cluster: [backup.system]
      2017-01-12 16:18:11,549 INFO [main] impl.TableBackupClient: Backup backup_1484266691104 started at 1484266691548.
      2017-01-12 16:18:11,756 INFO [main] impl.FullTableBackupClient: Execute roll log procedure for full backup ...
      2017-01-12 16:18:12,138 WARN [main] util.BackupServerUtil: Can not parsefile:/var/folders/h5/bbxg50c12r5bhsd9hf1n9hlr0000gp/T/hbase-enis/hbase/oldWALs/10.22.7.15%2C63190%2C1484265627048.1484265631575
      java.lang.NullPointerException
      at org.apache.hadoop.hbase.backup.util.BackupServerUtil$1.accept(BackupServerUtil.java:370)
      at org.apache.hadoop.hbase.backup.util.BackupClientUtil.getFiles(BackupClientUtil.java:172)
      at org.apache.hadoop.hbase.backup.util.BackupServerUtil.getWALFilesOlderThan(BackupServerUtil.java:379)
      at org.apache.hadoop.hbase.backup.impl.FullTableBackupClient.execute(FullTableBackupClient.java:137)
      at org.apache.hadoop.hbase.backup.impl.BackupAdminImpl.backupTables(BackupAdminImpl.java:522)
      at org.apache.hadoop.hbase.backup.impl.BackupCommands$CreateCommand.execute(BackupCommands.java:251)
      at org.apache.hadoop.hbase.backup.BackupDriver.parseAndRun(BackupDriver.java:126)
      at org.apache.hadoop.hbase.backup.BackupDriver.doWork(BackupDriver.java:155)
      at org.apache.hadoop.hbase.backup.BackupDriver.run(BackupDriver.java:188)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      at org.apache.hadoop.hbase.backup.BackupDriver.main(BackupDriver.java:163)
      2017-01-12 16:18:12,157 WARN [main] util.BackupServerUtil: Can not

      Attachments

        Activity

          People

            Unassigned Unassigned
            vrodionov Vladimir Rodionov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: