GitHub user sameeragarwal opened a pull request:

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

    [SPARK-16764][SQL] Recommend disabling vectorized parquet reader on 
OutOfMemoryError

    ## What changes were proposed in this pull request?
    
    We currently don't bound or manage the data array size used by column 
vectors in the vectorized reader (they're just bound by INT.MAX) which may lead 
to OOMs while reading data. As a short term fix, this patch intercepts the 
OutOfMemoryError exception and suggest the user to disable the vectorized 
parquet reader.
    
    ## How was this patch tested?
    
    Existing Tests

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

    $ git pull https://github.com/sameeragarwal/spark oom

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

    https://github.com/apache/spark/pull/14387.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 #14387
    
----
commit b62c1d2481ba161ae3b4e17ef83f1f6f46bb51e7
Author: Sameer Agarwal <[email protected]>
Date:   2016-07-28T06:08:14Z

    Recommend disabling vectorized parquet reader on OutOfMemoryError

----


---
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