You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2015/10/20 22:45:27 UTC

[jira] [Commented] (PIG-3251) Bzip2TextInputFormat requires double the memory of maximum record size

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

Rohini Palaniswamy commented on PIG-3251:
-----------------------------------------

- Can you change the name of the constant as well to PIG_BZIP_USE_HADOOP_INPUTFORMAT?

{code}
 public static final String PIG_BZIPINPUT_USEHADOOPS = "pig.bzip.use.hadoop.inputformat";
{code}

- Equals sign is missing before false
{code}
+                    'num' => 3,                                             
+                    'java_params' => ['-Dppig.bzip.use.hadoop.inputformatfalse'],
{code}

> Bzip2TextInputFormat requires double the memory of maximum record size
> ----------------------------------------------------------------------
>
>                 Key: PIG-3251
>                 URL: https://issues.apache.org/jira/browse/PIG-3251
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Koji Noguchi
>            Assignee: Koji Noguchi
>            Priority: Minor
>             Fix For: 0.16.0
>
>         Attachments: pig-3251-trunk-v01.patch, pig-3251-trunk-v02.patch, pig-3251-trunk-v03.patch, pig-3251-trunk-v04.patch, pig-3251-trunk-v05.patch, pig-3251-trunk-v06.patch, pig-3251-trunk-v07.patch
>
>
> While looking at user's OOM heap dump, noticed that pig's Bzip2TextInputFormat consumes memory at both
> Bzip2TextInputFormat.buffer (ByteArrayOutputStream) 
> and actual Text that is returned as line.
> For example, when having one record with 160MBytes, buffer was 268MBytes and Text was 160MBytes.  
> We can probably eliminate one of them.



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