[ https://issues.apache.org/jira/browse/HBASE-15411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-15411: --------------------------- Attachment: 15411-v5.txt Patch v5 lets FullTableBackupProcedure implement TableProcedureInterface. Still encounters the following when running TestFullBackup#testFullBackupSingle : {code} 2016-03-09 18:03:19,414 ERROR [ProcedureExecutor-0] server.NIOServerCnxnFactory$1(44): Thread Thread[ProcedureExecutor-0,5,main] died java.lang.UnsupportedOperationException: RQs for non-table/non-server procedures are not implemented yet at org.apache.hadoop.hbase.master.procedure.MasterProcedureScheduler.doAdd(MasterProcedureScheduler.java:117) at org.apache.hadoop.hbase.master.procedure.MasterProcedureScheduler.addFront(MasterProcedureScheduler.java:92) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(ProcedureExecutor.java:1175) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execLoop(ProcedureExecutor.java:855) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execLoop(ProcedureExecutor.java:808) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.access$400(ProcedureExecutor.java:75) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor$2.run(ProcedureExecutor.java:494) {code} > Rewrite backup with Procedure V2 > -------------------------------- > > Key: HBASE-15411 > URL: https://issues.apache.org/jira/browse/HBASE-15411 > Project: HBase > Issue Type: Improvement > Reporter: Ted Yu > Assignee: Ted Yu > Attachments: 15411-v1.txt, 15411-v3.txt, 15411-v5.txt, > FullTableBackupProcedure.java > > > Currently full / incremental backup is driven by BackupHandler (see call() > method for flow). > This issue is to rewrite the flow using Procedure V2. > States (enum) for full / incremental backup would be introduced in > Backup.proto which correspond to the steps performed in BackupHandler#call(). > executeFromState() would pace the backup based on the current state. > serializeStateData() / deserializeStateData() would be used to persist state > into procedure WAL. -- This message was sent by Atlassian JIRA (v6.3.4#6332)