You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/01 21:13:00 UTC

[jira] [Commented] (BEAM-2708) Decompressing bzip2 files with multiple "streams" only reads the first stream

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

ASF GitHub Bot commented on BEAM-2708:
--------------------------------------

GitHub user bjchambers opened a pull request:

    https://github.com/apache/beam/pull/3669

    [BEAM-2708] Configure BZIP2 to read all "streams"

    Without this, CompressionMode.BZIP2 only supports "standard" bz2 files
    containing a single stream. With this change, BZIP2 also supports bz2 files
    containing multiple streams, such as those produced by pbzip2.
    
    Follow this checklist to help us incorporate your contribution quickly and easily:
    
     - [ ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/projects/BEAM/issues/) filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
     - [ ] Each commit in the pull request should have a meaningful subject line and body.
     - [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue.
     - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
     - [ ] Run `mvn clean verify` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
     - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
    
    ---


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bjchambers/beam pbzip2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/3669.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3669
    
----
commit 5f82ea2569db3c2d287344700b212bdf3d9b7ea6
Author: bchambers <bc...@google.com>
Date:   2017-08-01T21:11:24Z

    [BEAM-2708] Configure BZIP2 to read all "streams"
    
    Without this, CompressionMode.BZIP2 only supports "standard" bz2 files
    containing a single stream. With this change, BZIP2 also supports bz2 files
    containing multiple streams, such as those produced by pbzip2.

----


> Decompressing bzip2 files with multiple "streams" only reads the first stream
> -----------------------------------------------------------------------------
>
>                 Key: BEAM-2708
>                 URL: https://issues.apache.org/jira/browse/BEAM-2708
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-extensions, sdk-py
>            Reporter: Pablo Estrada
>            Assignee: Ben Chambers
>
> I'm not sure which components to file this against. A user has observed that pbzip2 files are not being properly decompressed:
> https://stackoverflow.com/questions/45439117/google-dataflow-only-partly-uncompressing-files-compressed-with-pbzip2



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)