HBase
  1. HBase
  2. HBASE-4411

When copying tables/CFs, allow CF names to be changed

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.92.0
    • Component/s: mapreduce
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The CopyTable mapreduce job uses the Import class to read CFs in one table and output them to a different table. Here is a patch that allows different CF names to be used in the source and destination.

      1. HBASE-4411-trunk-v2.patch
        8 kB
        Dave Revell
      2. HBASE-4411-trunk.patch
        8 kB
        Dave Revell

        Activity

        Hide
        Dave Revell added a comment -

        Attached patch applies to trunk

        Show
        Dave Revell added a comment - Attached patch applies to trunk
        Hide
        Dave Revell added a comment -

        The same patch also works for the 0.90 branch

        Show
        Dave Revell added a comment - The same patch also works for the 0.90 branch
        Hide
        stack added a comment -

        +1 on patch.

        Show
        stack added a comment - +1 on patch.
        Hide
        Dave Revell added a comment -

        New patch v2 removes a debugging call to System.out.println() that should never have been included.

        Show
        Dave Revell added a comment - New patch v2 removes a debugging call to System.out.println() that should never have been included.
        Hide
        stack added a comment -

        Committed to TRUNK. Thanks for the patch David.

        Show
        stack added a comment - Committed to TRUNK. Thanks for the patch David.
        Hide
        Hudson added a comment -

        Integrated in HBase-TRUNK #2224 (See https://builds.apache.org/job/HBase-TRUNK/2224/)
        HBASE-4411 When copying tables/CFs, allow CF names to be changed

        stack :
        Files :

        • /hbase/trunk/CHANGES.txt
        • /hbase/trunk/src/main/java/org/apache/hadoop/hbase/mapreduce/CopyTable.java
        • /hbase/trunk/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java
        Show
        Hudson added a comment - Integrated in HBase-TRUNK #2224 (See https://builds.apache.org/job/HBase-TRUNK/2224/ ) HBASE-4411 When copying tables/CFs, allow CF names to be changed stack : Files : /hbase/trunk/CHANGES.txt /hbase/trunk/src/main/java/org/apache/hadoop/hbase/mapreduce/CopyTable.java /hbase/trunk/src/main/java/org/apache/hadoop/hbase/mapreduce/Import.java

          People

          • Assignee:
            Dave Revell
            Reporter:
            Dave Revell
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development