[ 
https://issues.apache.org/jira/browse/PIG-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rohini Palaniswamy updated PIG-3251:
------------------------------------
    Priority: Major  (was: Minor)

[~knoguchi],
    
https://builds.apache.org/job/Pig-trunk-commit/2278/testReport/org.apache.pig.test/TestBZip/testBZ2Concatenation_pig_bzip_use_hadoop_inputformat___true__/
  tests are failing. This should because concatenated bzip works with hadoop's 
TextInputFormat. Can you fix the testcase? I think it would be good to keep the 
original one which throws the exception for Pig's bzipinputformat  and another 
one for hadoop's which passes and also verifies the output.

> 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
>             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, pig-3251-trunk-v08.patch, 
> pig-3251-trunk-v09.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)

Reply via email to