You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jonathan Coveney (Commented) (JIRA)" <ji...@apache.org> on 2012/03/27 20:29:27 UTC
[jira] [Commented] (PIG-2619) HBaseStorage constructs a Scan with
cacheBlocks = false
[ https://issues.apache.org/jira/browse/PIG-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239792#comment-13239792 ]
Jonathan Coveney commented on PIG-2619:
---------------------------------------
Good catch, Andy! I assume that the feature is used in normal HBase operations, just counterproductive in MR jobs?
> HBaseStorage constructs a Scan with cacheBlocks = false
> -------------------------------------------------------
>
> Key: PIG-2619
> URL: https://issues.apache.org/jira/browse/PIG-2619
> Project: Pig
> Issue Type: Improvement
> Reporter: Andy Lindeman
> Labels: hbase
> Attachments: PIG-2619.patch
>
>
> Per <http://hbase.apache.org/book/mapreduce.example.html>, Scan objects for map-reduce jobs should disable cache blocks.
> scan.setCacheBlocks(false); // don't set to true for MR jobs
> This issue and the attached patch does so for Pig's HBaseStorage.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira