hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-974) New Backup Export/Import MR for 0.18/0.19
Date Sat, 07 Feb 2009 20:51:02 GMT

    [ https://issues.apache.org/jira/browse/HBASE-974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671525#action_12671525
] 

stack commented on HBASE-974:
-----------------------------

Erik:

Would suggest that when you are successful with Yair, that you get him to +1 one this issue.
 On the ExportMR job, I wonder if its possible to set maps == 0 so you don't have to supply
a map task?  Should we commit these classes to hbase?  Into a contrib or under examples? 
I like the way they serialize RR.  Good idea.  If we're going to commit, they need apache
licenses and the style fixed up (don't ask jgray -- he'll only tell you wrong thing.... smile).
 For the below, check Writables in hbase util.  I think there are methods there to help you
do the below:
{code}
		ByteArrayInputStream bis = new ByteArrayInputStream( ((BytesWritable)val).get() );// baos.toByteArray());
		DataInputStream dis = new DataInputStream(bis);
		RowResult rowRes = new RowResult();
		rowRes.readFields(dis);
{code}
If you use HbaseMapWritable instead of MW, you could do without Text and toString'ing table
name (I think).  In 880, I believe RowResult and BatchUpdate have same ancestor.  Would be
sweet if they could be used interchangeably so you wouldn't need to do the conversion in rowResultToBatchUpdate.
 You think it makes sense creating the new HTable in the reduce each time its invoked and
not in its configure step?



> New Backup Export/Import MR for 0.18/0.19
> -----------------------------------------
>
>                 Key: HBASE-974
>                 URL: https://issues.apache.org/jira/browse/HBASE-974
>             Project: Hadoop HBase
>          Issue Type: New Feature
>    Affects Versions: 0.18.0, 0.18.1, 0.19.0
>            Reporter: Jonathan Gray
>            Assignee: Erik Holstad
>            Priority: Minor
>         Attachments: ExportMR.java, ExportMR.sh, ImportMR.java, ImportMR.sh, makeExportJar.sh,
makeImportJar.sh
>
>
> Erik has built a new backup tool that's compatible with newer versions of HBase.

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


Mime
View raw message