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.

Config to use for timeout issue while taking Hbase Snapshot

Highlighted

Config to use for timeout issue while taking Hbase Snapshot

New Contributor

Hi,

I am trying to take full backup using the command "hbase backup create full </local/path>". In my hbase , for testing purpose there is only one user table created and all others are default hbase tables. I am getting below ERROR when i run the backup command. Can someone please tell me what config i need to add inorder to resolve this timeout issue.

Backup session finished. Status: FAILURE
2018-02-19 06:10:24,928 ERROR [main] util.AbstractHBaseTool: Error running command-line tool
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hbase.errorhandling.ForeignException): org.apache.hadoop.hbase.errorhandling.TimeoutException: Timeout elapsed! Source:Timeout caused Foreign Exception Start:1519020556896, End:1519020616896, diff:60000, max:60000 ms
        at org.apache.hadoop.hbase.errorhandling.ForeignExceptionDispatcher.rethrowException(ForeignExceptionDispatcher.java:83)
        at org.apache.hadoop.hbase.backup.master.LogRollMasterProcedureManager.execProcedure(LogRollMasterProcedureManager.java:129)
        at org.apache.hadoop.hbase.master.procedure.MasterProcedureUtil.execProcedure(MasterProcedureUtil.java:93)
        at org.apache.hadoop.hbase.backup.master.FullTableBackupProcedure.executeFromState(FullTableBackupProcedure.java:525)
        at org.apache.hadoop.hbase.backup.master.FullTableBackupProcedure.executeFromState(FullTableBackupProcedure.java:69)
        at org.apache.hadoop.hbase.procedure2.StateMachineProcedure.execute(StateMachineProcedure.java:107)
        at org.apache.hadoop.hbase.procedure2.Procedure.doExecute(Procedure.java:500)
        at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(ProcedureExecutor.java:1086)
        at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execLoop(ProcedureExecutor.java:888)
        at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execLoop(ProcedureExecutor.java:841)
        at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.access$200(ProcedureExecutor.java:77)
        at org.apache.hadoop.hbase.procedure2.ProcedureExecutor$1.run(ProcedureExecutor.java:443)

I have already tried adding below property in my hbase-site.xml file, but I still get the timeout issue

<property>
      <name>hbase.snapshot.region.timeout</name>
      <value>300000</value>
 </property>
Don't have an account?
Coming from Hortonworks? Activate your account here