Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

failed to create hbase backup. Error [main] backup.BackupDriver: Error running command-line tool..

Highlighted

failed to create hbase backup. Error [main] backup.BackupDriver: Error running command-line tool..

New Contributor

failed to create hbase backup. Error [main] backup.BackupDriver: Error running command-line tool..

	$ hbase backup create full hdfs:///hdfs/backups/

	WARN  [main] impl.BackupManager: Waiting to acquire backup exclusive lock for 1s

	WARN  [main] impl.BackupManager: Waiting to acquire backup exclusive lock for 3551s

	ERROR [main] impl.BackupAdminImpl: There is an active session already running

	Backup session finished. Status: FAILURE
2019-01-16 19:34:25,376 ERROR [main] backup.BackupDriver: Error running command-line tool
	java.io.IOException: Failed to acquire backup system table exclusive lock after 3600s
at org.apache.hadoop.hbase.backup.impl.BackupManager.startBackupSession(BackupManager.java:415)
at org.apache.hadoop.hbase.backup.impl.TableBackupClient.init(TableBackupClient.java:104)
at org.apache.hadoop.hbase.backup.impl.TableBackupClient.<init>(TableBackupClient.java:81)
at org.apache.hadoop.hbase.backup.impl.FullTableBackupClient.<init>(FullTableBackupClient.java:62)
at org.apache.hadoop.hbase.backup.BackupClientFactory.create(BackupClientFactory.java:51)
at org.apache.hadoop.hbase.backup.impl.BackupAdminImpl.backupTables(BackupAdminImpl.java:595)
at org.apache.hadoop.hbase.backup.impl.BackupCommands$CreateCommand.execute(BackupCommands.java:347)
at org.apache.hadoop.hbase.backup.BackupDriver.parseAndRun(BackupDriver.java:138)
at org.apache.hadoop.hbase.backup.BackupDriver.doWork(BackupDriver.java:171)
at org.apache.hadoop.hbase.backup.BackupDriver.run(BackupDriver.java:204)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.hadoop.hbase.backup.BackupDriver.main(BackupDriver.java:179)