HBase
  1. HBase
  2. HBASE-10825

Add copy-from option to ExportSnapshot

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.96.2, 0.98.1, 0.99.0
    • Component/s: snapshots
    • Labels:
      None

      Description

      To simplify the "Import" of a snapshot add a "-copy-from" option.
      That is basically doing the manual -Dhbase.rootdir=hdfs://srv/hbase/ -Dfs.defaultFS=hdfs://srv/

      1. HBASE-10825-v0.patch
        4 kB
        Matteo Bertozzi

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        1m 1 Matteo Bertozzi 25/Mar/14 04:00
        Patch Available Patch Available Resolved Resolved
        1d 12h 23m 1 Matteo Bertozzi 26/Mar/14 16:23
        Resolved Resolved Closed Closed
        332d 7h 14m 1 Enis Soztutar 21/Feb/15 23:38
        Enis Soztutar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Enis Soztutar added a comment -

        Closing this issue after 0.99.0 release.

        Show
        Enis Soztutar added a comment - Closing this issue after 0.99.0 release.
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in HBase-0.98 #253 (See https://builds.apache.org/job/HBase-0.98/253/)
        HBASE-10825 Add copy-from option to ExportSnapshot (mbertozzi: rev 1581911)

        • /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
        • /hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
        Show
        Hudson added a comment - SUCCESS: Integrated in HBase-0.98 #253 (See https://builds.apache.org/job/HBase-0.98/253/ ) HBASE-10825 Add copy-from option to ExportSnapshot (mbertozzi: rev 1581911) /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java /hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in hbase-0.96 #369 (See https://builds.apache.org/job/hbase-0.96/369/)
        HBASE-10825 Add copy-from option to ExportSnapshot (mbertozzi: rev 1581910)

        • /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
        • /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
        Show
        Hudson added a comment - SUCCESS: Integrated in hbase-0.96 #369 (See https://builds.apache.org/job/hbase-0.96/369/ ) HBASE-10825 Add copy-from option to ExportSnapshot (mbertozzi: rev 1581910) /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in hbase-0.96-hadoop2 #253 (See https://builds.apache.org/job/hbase-0.96-hadoop2/253/)
        HBASE-10825 Add copy-from option to ExportSnapshot (mbertozzi: rev 1581910)

        • /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
        • /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
        Show
        Hudson added a comment - FAILURE: Integrated in hbase-0.96-hadoop2 #253 (See https://builds.apache.org/job/hbase-0.96-hadoop2/253/ ) HBASE-10825 Add copy-from option to ExportSnapshot (mbertozzi: rev 1581910) /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #236 (See https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/236/)
        HBASE-10825 Add copy-from option to ExportSnapshot (mbertozzi: rev 1581911)

        • /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
        • /hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
        Show
        Hudson added a comment - FAILURE: Integrated in HBase-0.98-on-Hadoop-1.1 #236 (See https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/236/ ) HBASE-10825 Add copy-from option to ExportSnapshot (mbertozzi: rev 1581911) /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java /hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in HBase-TRUNK #5042 (See https://builds.apache.org/job/HBase-TRUNK/5042/)
        HBASE-10825 Add copy-from option to ExportSnapshot (mbertozzi: rev 1581909)

        • /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java
        • /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
        Show
        Hudson added a comment - SUCCESS: Integrated in HBase-TRUNK #5042 (See https://builds.apache.org/job/HBase-TRUNK/5042/ ) HBASE-10825 Add copy-from option to ExportSnapshot (mbertozzi: rev 1581909) /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
        Andrew Purtell made changes -
        Fix Version/s 0.98.1 [ 12325664 ]
        Fix Version/s 0.98.2 [ 12326505 ]
        Matteo Bertozzi made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.96.2 [ 12325658 ]
        Fix Version/s 0.99.0 [ 12325675 ]
        Fix Version/s 0.98.2 [ 12326505 ]
        Resolution Fixed [ 1 ]
        Hide
        Jonathan Hsieh added a comment -

        +1

        Consider adding usage example to the docs (follow on)

        Show
        Jonathan Hsieh added a comment - +1 Consider adding usage example to the docs (follow on)
        Hide
        Hadoop QA added a comment -

        +1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12636516/HBASE-10825-v0.patch
        against trunk revision .
        ATTACHMENT ID: 12636516

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 3 new or modified tests.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 lineLengths. The patch does not introduce lines longer than 100

        +1 site. The mvn site goal succeeds with this patch.

        +1 core tests. The patch passed unit tests in .

        Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//testReport/
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
        Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - +1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12636516/HBASE-10825-v0.patch against trunk revision . ATTACHMENT ID: 12636516 +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 3 new or modified tests. +1 javadoc . The javadoc tool did not generate any warning messages. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 findbugs . The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 lineLengths . The patch does not introduce lines longer than 100 +1 site . The mvn site goal succeeds with this patch. +1 core tests . The patch passed unit tests in . Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/9085//console This message is automatically generated.
        Matteo Bertozzi made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Matteo Bertozzi made changes -
        Field Original Value New Value
        Attachment HBASE-10825-v0.patch [ 12636516 ]
        Matteo Bertozzi created issue -

          People

          • Assignee:
            Matteo Bertozzi
            Reporter:
            Matteo Bertozzi
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development