hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yi liang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-3727) MultiHFileOutputFormat
Date Wed, 22 Jun 2016 00:15:58 GMT

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

yi liang commented on HBASE-3727:
---------------------------------

Attached is revised version, MH3.patch
  To use existing code in the HFileOutputFormat2.java, I need to modify the original code
in HFileOutputFormat2. There are only one major modification in HFileOutputFormat2: change
the Anonymous Classes of return RecordWriter to HFileRecordWriter extends RecordWriter.
   In this way, I can directly new HFileRecordWriter in my MultiHFileOutputFormat.java.
   And I also put the code on the review board, thanks 

> MultiHFileOutputFormat
> ----------------------
>
>                 Key: HBASE-3727
>                 URL: https://issues.apache.org/jira/browse/HBASE-3727
>             Project: HBase
>          Issue Type: New Feature
>    Affects Versions: 2.0.0
>            Reporter: Andrew Purtell
>            Assignee: yi liang
>            Priority: Minor
>         Attachments: MH2.patch, MH3.patch, MultiHFileOutputFormat.java, MultiHFileOutputFormat.java,
MultiHFileOutputFormat.java, TestMultiHFileOutputFormat.java
>
>
> Like MultiTableOutputFormat, but outputting HFiles. Key is tablename as an IBW. Creates
sub-writers (code cut and pasted from HFileOutputFormat) on demand that produce HFiles in
per-table subdirectories of the configured output path. Does not currently support partitioning
for existing tables / incremental update.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message