hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Yuan Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15411) Rewrite backup with Procedure V2
Date Thu, 31 Mar 2016 17:11:25 GMT

    [ https://issues.apache.org/jira/browse/HBASE-15411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15220234#comment-15220234

Stephen Yuan Jiang commented on HBASE-15411:

Today, we directly access the {{mpmHost}} from master.  I think it is reasonable to add a
accessor ('getMasterProcedureManagerHost()') to do the same thing.

  public ExecProcedureResponse execProcedure(RpcController controller,
      ExecProcedureRequest request) throws ServiceException {
    try {
      ProcedureDescription desc = request.getProcedure();
      MasterProcedureManager mpm = master.mpmHost.getProcedureManager(

A separate JIRA just similar to MasterServices#getSnapshotManager() is good.

> 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-v11.txt, 15411-v12.txt, 15411-v13.txt, 15411-v14.txt,
15411-v15.txt, 15411-v16.txt, 15411-v18.txt, 15411-v22.txt, 15411-v3.txt, 15411-v5.txt, 15411-v6.txt,
15411-v7.txt, 15411-v9.txt, FullTableBackupProcedure.java
> Currently full / incremental backup is driven by BackupHandler (see call() method for
> 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

This message was sent by Atlassian JIRA

View raw message