[
https://issues.apache.org/jira/browse/HBASE-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895088#action_12895088
]
Jean-Daniel Cryans commented on HBASE-2201:
-------------------------------------------
Here's the list of commands I'm currently planning to add to the shell
(strongly inspired by Andrew's pdf):
- add_peer [label] [cluster_key]
Creates a new replication source on every region server to the new cluster and
starts replication using the current HLog.
- remove_peer [label]
Disables all the replication sources for that cluster, closes all the
connections, deletes the replication sources and cleans the znodes.
- enable_peer [label]
Restarts the stopped replication sources for that cluster.
- disable_peer [label]
Stops the replication sources for that cluster, but continues keeping track of
the new HLogs.
- enable_replication
Restarts all the sources from the last state.
- disable_replication
Stops all the sources, and stops keeping track of the new HLogs. This is an
extreme measure for if replication starts screwing the cluster in bad ways.
> JRuby shell for replication
> ---------------------------
>
> Key: HBASE-2201
> URL: https://issues.apache.org/jira/browse/HBASE-2201
> Project: HBase
> Issue Type: Sub-task
> Components: replication
> Reporter: Jean-Daniel Cryans
> Assignee: Jean-Daniel Cryans
> Fix For: 0.90.0
>
>
> We need a shell to easily issue administration commands for replication. It
> should be easy to merge with existing core shell.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.