[
https://issues.apache.org/jira/browse/CRUNCH-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13753191#comment-13753191
]
Chao Shi commented on CRUNCH-246:
---------------------------------
Just a quick update: I'm still working on this. I'd like to introduce an
method: HFileUtils#scanHFiles(Pipeline, Path, Scan). A user can specify the
scan criteria (e.g. start/stop rows). we can I will post a patch here in a few
days.
> HFileSource
> -----------
>
> Key: CRUNCH-246
> URL: https://issues.apache.org/jira/browse/CRUNCH-246
> Project: Crunch
> Issue Type: Improvement
> Components: IO
> Reporter: Chao Shi
> Assignee: Chao Shi
> Attachments: crunch-246.patch, HFileInputFormat.java
>
>
> I found this useful when directly perform MR on HFiles. I used it yesterday
> when copying a bunch of HFiles to another cluster (where the region layout is
> different).
> There is no HFileInputFormat provided by HBase, but I found the following
> from google:
> https://gist.github.com/leifwickland/1120311
> http://blog.csdn.net/kirayuan/article/details/7794402 (Java version of the
> above. The webpage is in chinese, but you can see the code)
> I'm not sure if we copy their code directly (copyright issue?). Anyone knows?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira