hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-4131) Make the Replication Service pluggable via a standard interface definition
Date Thu, 22 Sep 2011 20:57:26 GMT

     [ https://issues.apache.org/jira/browse/HBASE-4131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

dhruba borthakur updated HBASE-4131:
------------------------------------

    Attachment: replicationInterface2.txt

Addressed Stacks' comments. Split up the Replication Interface into two parts, the ReplicationSource
and ReplicationSink Interfaces.

{code}


public interface ReplicationService {


  public void initialize(Server rs, FileSystem fs, Path logdir,
                         Path oldLogDir) throws IOException;


  public void startReplicationService() throws IOException;


  public void stopReplicationService();
}

public interface ReplicationSourceService extends ReplicationService {

  public WALActionsListener getWALActionsListener();
}


public interface ReplicationSinkService extends ReplicationService {

  public void replicateLogEntries(HLog.Entry[] entries) throws IOException;
}



> Make the Replication Service pluggable via a standard interface definition
> --------------------------------------------------------------------------
>
>                 Key: HBASE-4131
>                 URL: https://issues.apache.org/jira/browse/HBASE-4131
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>         Attachments: replicationInterface1.txt, replicationInterface2.txt
>
>
> The current HBase code supports a replication service that can be used to sync data from
from one hbase cluster to another. It would be nice to make it a pluggable interface so that
other cross-data-center replication services can be used in conjuction with HBase.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message