GitHub user maropu opened a pull request:

    https://github.com/apache/spark/pull/3488

    [SPARK-4633] Support GZIPOutputStream in spark.io.compression.codec

    gzip is widely used in other frameworks such as hadoop mapreduce and tez, 
and also
    I think that gizip is more stable than other codecs in terms of both 
performance
    and space overheads.
    
    I have one open question; current spark configurations have a block size 
option
    for each codec (spark.io.compression.[gzip|lz4|snappy].block.size).
    As # of codecs increases, the configurations have more options and
    I think that it is sort of complicated for non-expert users.
    
    To mitigate it, my thought follows;
    the three configurations are replaced with a single option for block size
    (spark.io.compression.block.size). Then, 'Meaning' in configurations
    will describe "This option makes an effect on gzip, lz4, and snappy. 
    Block size (in bytes) used in compression, in the case when these 
compression
    codecs are used. Lowering...".
    
    Thought?


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

    $ git pull https://github.com/maropu/spark DeflaterCodecSpike

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

    https://github.com/apache/spark/pull/3488.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 #3488
    
----
commit 2b8c62503c7b41d814d67c7034084c52856388e4
Author: Takeshi Yamamuro <[email protected]>
Date:   2014-11-26T17:14:39Z

    Support GZIPOutputStream in spark.io.compression.codec

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to