beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (BEAM-683) Make BZIP compressed files splittable
Date Tue, 27 Sep 2016 13:02:20 GMT

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

Jean-Baptiste Onofré commented on BEAM-683:
-------------------------------------------

Kind of similar with what we did on Zip files ?

> Make BZIP compressed files splittable 
> --------------------------------------
>
>                 Key: BEAM-683
>                 URL: https://issues.apache.org/jira/browse/BEAM-683
>             Project: Beam
>          Issue Type: Wish
>            Reporter: Tim Sears
>            Priority: Minor
>   Original Estimate: 10h
>  Remaining Estimate: 10h
>
> Bzip2 is compressed as blocks, so it should be possible to do dynamic splitting. To do
this: Seek to a location in the bzip, then keep seeking until you find the 6 byte block-start
sequence 0x314159265359 (which is the 12 digit approximation of pi). You can use a bzip2 decompressor
from that point onwards.



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

Mime
View raw message