You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2011/05/03 21:37:03 UTC

[jira] [Commented] (PIG-2008) Cache outputFormat in HBaseStorage

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

Alan Gates commented on PIG-2008:
---------------------------------

Dmitriy, could you take a look at this.  It looks ok to me, but I'm not an HBase expert.  I'll run the unit tests and such on it.

> Cache outputFormat in HBaseStorage
> ----------------------------------
>
>                 Key: PIG-2008
>                 URL: https://issues.apache.org/jira/browse/PIG-2008
>             Project: Pig
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.8.0
>            Reporter: Jacob Perkins
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: patch_file.txt
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> getOutputFormat gets called more than one time in a StoreFunc. Modify HBaseStorage to only create an instance of TableOutputFormat one time (since it creates a new HTable connection each time) as opposed to multiple times like it does now.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira