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

HBase backup incremental failed with message Can not convert from directory hdfs WALs


HBase backup incremental failed with message Can not convert from directory hdfs WALs

New Contributor


I have a cluster hdp 2.6.4 with hdfs in HA, HBase master and standby integrated Active Directory on Ranger.

In URL to configure backup hbase says to edit the file /etc/hadoop/conf/container-executor.cfg by registering the variable allowed.system.users=hbase, but when restarting the yarn service returns to previous values, how to persist change on configuration?

For the backups I created and assigned the permissions to hbase. I running "hbase backup create full hdfs://pchquit01dclhdf01/backups/hbase/ns_hdocument_tl NS_HDOCUMENT_TL:TAB_HDOCUMENT" getting messag SUCCESS and backup file have 1.6 TB, but, at running incremental backup "hbase backup create incremental hdfs://pchquit01dclhdf01/backups/hbase/ns_hdocument_tl" failed with message:

	2019-01-10 18:37:58,273 INFO  [main] util.BackupClientUtil: Using existing backup root dir: hdfs://pchquit01dclhdf01/backups/hbase/ns_hdocument_tl
	Backup session finished. Status: FAILURE
	2019-01-10 18:38:00,760 ERROR [main] util.AbstractHBaseTool: Error running command-line tool
	   at org.apache.hadoop.hbase.backup.master.FullTableBackupProcedure.cleanupTargetDir(
	   at org.apache.hadoop.hbase.backup.master.FullTableBackupProcedure.failBackup(
	   at org.apache.hadoop.hbase.backup.master.IncrementalTableBackupProcedure.executeFromState(
	   at org.apache.hadoop.hbase.backup.master.IncrementalTableBackupProcedure.executeFromState(
	   at org.apache.hadoop.hbase.procedure2.StateMachineProcedure.execute(
	   at org.apache.hadoop.hbase.procedure2.Procedure.doExecute(
	   at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(
	   at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execLoop(
	   at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execLoop(
	   at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.access$200(
	   at org.apache.hadoop.hbase.procedure2.ProcedureExecutor$

At runnin backup history you see the error message in the incremental backup that "Can not convert from directory"

ID : backup_1547157122634
State : FAILED
Start time : Thu Jan 10 16:52:02 ECT 2019
Failed message : Can not convert from directory hdfs://pchquit01dclhdf01/apps/hbase/data/WALs/,16020,1547143571009/;hdfs://pchquit01dclhdf01/apps/hbase/data/WALs/,16020,1547143577365/ ..................................................................

Any help please?

Thank you in advance.

Don't have an account?
Coming from Hortonworks? Activate your account here