Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.90.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      As discussed in HBASE-2197, we need a way to copy a table from one cluster to another. This requires creating the job itself and modifying TOF.

      1. HBASE-2221-v2.patch
        31 kB
        Jean-Daniel Cryans
      2. HBASE-2221.patch
        27 kB
        Jean-Daniel Cryans

        Activity

        Hide
        Karthik K added a comment -

        Would there be a mapred version of this ?

        Show
        Karthik K added a comment - Would there be a mapred version of this ?
        Hide
        Jean-Daniel Cryans added a comment -

        Committed to trunk, thanks for the review Ryan!

        Show
        Jean-Daniel Cryans added a comment - Committed to trunk, thanks for the review Ryan!
        Hide
        ryan rawson added a comment -

        +1

        Show
        ryan rawson added a comment - +1
        Hide
        Jean-Daniel Cryans added a comment -

        Version 2 of the patch cares about HBASE-1728 and does some more cleanup in TestReplication.

        Show
        Jean-Daniel Cryans added a comment - Version 2 of the patch cares about HBASE-1728 and does some more cleanup in TestReplication.
        Hide
        Jean-Daniel Cryans added a comment -

        Patch that adds a new MR job called CopyTable that can be configured with a peer cluster address, new table name, time range and a different region server implementation (if the peer is different). It also modifies TOF to accept the peer address and the configuration of a different region server implementation. A test is added to TestReplication to use CopyTable (which will be modified once HBASE-1728 gets in to care about scoping).

        Show
        Jean-Daniel Cryans added a comment - Patch that adds a new MR job called CopyTable that can be configured with a peer cluster address, new table name, time range and a different region server implementation (if the peer is different). It also modifies TOF to accept the peer address and the configuration of a different region server implementation. A test is added to TestReplication to use CopyTable (which will be modified once HBASE-1728 gets in to care about scoping).
        Hide
        Jean-Daniel Cryans added a comment -

        I'm changing the title to include a wider scope of features, working on this I found that we could use such a MR to copy a table on the same cluster (using a different name).

        Show
        Jean-Daniel Cryans added a comment - I'm changing the title to include a wider scope of features, working on this I found that we could use such a MR to copy a table on the same cluster (using a different name).

          People

          • Assignee:
            Jean-Daniel Cryans
            Reporter:
            Jean-Daniel Cryans
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development