You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jonathan Gray (JIRA)" <ji...@apache.org> on 2009/07/23 00:05:14 UTC

[jira] Created: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Backup (Export/Import) contrib tool for 0.20
--------------------------------------------

                 Key: HBASE-1684
                 URL: https://issues.apache.org/jira/browse/HBASE-1684
             Project: Hadoop HBase
          Issue Type: New Feature
          Components: contrib
    Affects Versions: 0.20.0
            Reporter: Jonathan Gray
            Assignee: Jonathan Gray
             Fix For: 0.20.0


Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.

Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Gray updated HBASE-1684:
---------------------------------

    Attachment: HBASE-1684-trunk.patch

Version of stack's patch that applies cleanly to trunk.

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.20.1
>
>         Attachments: BackupTable.java, ExportImport.java, exportimport.patch, HBASE-1684-trunk.patch, HBASE-1684-v1.patch, RestoreTable.java
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Gray updated HBASE-1684:
---------------------------------

    Attachment: HBASE-1684-v1.patch

Untested, just quick code dump.  There is not much to this, utilizes TIF for Export and TOF for Import.

What's the best way to distribute this MR job as contrib?  Need to make an individual build.xml and add it to main build?

Once I have that, will add class comments / package-info about how to use it.  Could use some help on how to properly build it though.

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1684-v1.patch
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759175#action_12759175 ] 

stack commented on HBASE-1684:
------------------------------

@Schubert Yeah, these use normal API.  Fellas might use them if they want to backup a table then reload it.  Using these tools, there is no need to mess with .META. (presuming table already exists).  Regards bulk exporting by copying hfiles, do you want to make an issue?  It shouldn't be hard to do.  Just copy the table directory in hdfs.  On restore, would probably need to wipe the table from .META. and then add entries per region in the backup (using the content of the .regioninfo file that is underneath the region directory).  Shouldn't be hard.  If you need it, lets work on it together.

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: stack
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: BackupTable.java, ExportImport.java, exportimport.patch, HBASE-1684-trunk.patch, HBASE-1684-v1.patch, RestoreTable.java
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744693#action_12744693 ] 

stack commented on HBASE-1684:
------------------------------

Classes look good but why toString binary data?  Why not write out KeyValues to SequenceFiles?  And yes, I you are right, I noticed that Tool seems deprecated now.

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.20.1
>
>         Attachments: BackupTable.java, HBASE-1684-v1.patch, RestoreTable.java
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "Lars George (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741292#action_12741292 ] 

Lars George commented on HBASE-1684:
------------------------------------

Stack, about your comments re: reducer/mapper needed. For the RestoreTable I am using both, the mapper reads from the backup files and then randomizes the rows using a random intermediate key. This is along what Ryan did with his pure randomizer MR class. That way all the RegionServers are hit equally.

For the BackupTable I am using an IdentityTableMapper and encode the data in the reducer to have it written out in the TextOutputFormat. After we discussed that a while ago with you and Jon it should also be possible to use only a Mapper and do the work there and set the Reducers to 0, which then hands out the Mapper records straight to the TextOutputFormat.

Lastly, implementing Tool seems deprecated. The new mapreduce WordCounter sample that comes with Hadoop 0.20 abandons it too. That is also why I changed RowCounter not to use it when I cleaned up the hbase.mapreduce package. The parsing of the generic options is done using the GenericParser directly inside the main(), and the remaining arguments used for the specific MR job. I have done the same in the attached two classes.

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.20.1
>
>         Attachments: BackupTable.java, HBASE-1684-v1.patch, RestoreTable.java
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Gray updated HBASE-1684:
---------------------------------

    Fix Version/s:     (was: 0.20.0)
                   0.20.1

Punting to 0.20.1

Will commit when it's ready, whenever that is.  Will probably move it to mapreduce package instead of contrib.

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.20.1
>
>         Attachments: HBASE-1684-v1.patch
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734914#action_12734914 ] 

stack commented on HBASE-1684:
------------------------------

What should the contrib be called? 'backupmr'?  How about dump?  ExportMR and ImportMR should implement Tool.  See the HStoreFileToStoreFile for sample.  Then they can take command line arguments.  Why have a map in ExportMR?  It does nothing.  Same for reducer?  Just use Identity Map?  For ImportMR, reduce does nothing either.   Just don't have it in there and set reducer to zero in the job setup.  Rather than a contrib, lets just add this to mapreduce package?


> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1684-v1.patch
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "Lars George (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars George updated HBASE-1684:
-------------------------------

    Attachment: RestoreTable.java
                BackupTable.java

Attached RestoreTable and BackupTable that we use internally to backup a table into gzipped text files and then restore on a different (or the same of course) cluster. The only thing missing is also base64 encode the row key, but otherwise it works as-is. 

If you like I can pretty this up and add next to RowCounter as a hbase.jar tool. What do you think?

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.20.1
>
>         Attachments: BackupTable.java, HBASE-1684-v1.patch, RestoreTable.java
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-1684:
-------------------------

    Status: Patch Available  (was: Open)

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.20.1
>
>         Attachments: BackupTable.java, ExportImport.java, exportimport.patch, HBASE-1684-v1.patch, RestoreTable.java
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756236#action_12756236 ] 

stack commented on HBASE-1684:
------------------------------

I tested this by loading a table, exporting it, dropping it, recreating it, then reimporting, then running rowcounter to confirm.

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.20.1
>
>         Attachments: BackupTable.java, ExportImport.java, exportimport.patch, HBASE-1684-v1.patch, RestoreTable.java
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756329#action_12756329 ] 

Jonathan Gray commented on HBASE-1684:
--------------------------------------

Patch looks good to me.  +1 for commit

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.20.1
>
>         Attachments: BackupTable.java, ExportImport.java, exportimport.patch, HBASE-1684-trunk.patch, HBASE-1684-v1.patch, RestoreTable.java
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-1684:
-------------------------

       Resolution: Fixed
    Fix Version/s: 0.21.0
         Assignee: stack  (was: Jonathan Gray)
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

Committed branch and trunk.

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: stack
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: BackupTable.java, ExportImport.java, exportimport.patch, HBASE-1684-trunk.patch, HBASE-1684-v1.patch, RestoreTable.java
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-1684:
-------------------------

    Attachment: exportimport.patch

Patch that adds import and export jobs to the hbase mapreduce MR driver.

Export does like Jon's writing out to sequence files.

Import reads in from said sequence files.

These classes are more inline w/ the the 0.20.0 MR idiom (and not unnecessary reduce, etc.).

Also fixed RowCounter so no longer an output dir.

Fixed tableinputformat so no longer need to specify columns (if no columns, then all columns).

Changed some of the util so it can take null classes.. sometimes need this (e.g. above imports/exports).

Please review.

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.20.1
>
>         Attachments: BackupTable.java, ExportImport.java, exportimport.patch, HBASE-1684-v1.patch, RestoreTable.java
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "Lars George (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744949#action_12744949 ] 

Lars George commented on HBASE-1684:
------------------------------------

This is from before all binary KV's. The advantage is I guess that you can still somewhat read the base64 encoded backup files. Of course they are larger than the plain KV-dumped-into-SequenceFile version. The code above uses TextOutputFormat and does so with minimal extra effort. But that is no strict requirement of course and could be changed. 

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.20.1
>
>         Attachments: BackupTable.java, HBASE-1684-v1.patch, RestoreTable.java
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-1684:
-------------------------

    Attachment: ExportImport.java

This is based on Jon's code -- some cleanup, using the inner-class idiom -- but its not right yet. It puts the import/export together in one class.  I think it'd just be cleaner doing them as separate classes as Jon had it.

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>             Fix For: 0.20.1
>
>         Attachments: BackupTable.java, ExportImport.java, HBASE-1684-v1.patch, RestoreTable.java
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "Jonathan Gray (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759134#action_12759134 ] 

Jonathan Gray commented on HBASE-1684:
--------------------------------------

@Schubert What do you mean just use the normal API?  These are MapReduce jobs.  You are referring to wanting to do imports/exports at the HDFS level instead?  (that is not this issue)

Bulk importing can be done with HBASE-48, but it is not yet fully-featured (only works on single families, doesn't work into existing tables, etc)

Bulk exporting at HFile level is going to require some form of freezing/snapshotting so it's 100% safe and consistent to do that (though it's still possible now, and we're doing it in production here).  There is an old issue for this as well, HBASE-50.

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: stack
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: BackupTable.java, ExportImport.java, exportimport.patch, HBASE-1684-trunk.patch, HBASE-1684-v1.patch, RestoreTable.java
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-1684) Backup (Export/Import) contrib tool for 0.20

Posted by "Schubert Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-1684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759060#action_12759060 ] 

Schubert Zhang commented on HBASE-1684:
---------------------------------------

The Export(backup)/Import tools in this issue seem just get and insert data by normal API. 

For the bulk backup/export tool: Why not just copy out the HFiles?
For the bulk import tool: it should be HBASE-48

> Backup (Export/Import) contrib tool for 0.20
> --------------------------------------------
>
>                 Key: HBASE-1684
>                 URL: https://issues.apache.org/jira/browse/HBASE-1684
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: contrib
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: stack
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: BackupTable.java, ExportImport.java, exportimport.patch, HBASE-1684-trunk.patch, HBASE-1684-v1.patch, RestoreTable.java
>
>
> Add a new Result/KeyValue based Export MapReduce job to contrib for 0.20.
> Make it in the hadoop 0.20 and hbase 0.20 MR API, and hbase 0.20 API (Result/Put).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.