hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Rodionov (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-17533) NPE in backup create session
Date Wed, 05 Jul 2017 21:03:00 GMT

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

Vladimir Rodionov resolved HBASE-17533.
---------------------------------------
    Resolution: Invalid

{code}
/hbase backup create "full" file:///tmp/
{code}
Backup does not support local file system as destination.

> NPE in backup create session
> ----------------------------
>
>                 Key: HBASE-17533
>                 URL: https://issues.apache.org/jira/browse/HBASE-17533
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Vladimir Rodionov
>             Fix For: HBASE-7912
>
>
> 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



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

Mime
View raw message