[
https://issues.apache.org/jira/browse/PIG-2008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028383#comment-13028383
]
Dmitriy V. Ryaboy commented on PIG-2008:
----------------------------------------
Yeah looks good. Sorry I missed reviewing this earlier.
Alan, objections to committing this to the 0.9 branch? The HTable connection
leak is a bug.
> 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