GitHub user tedyu opened a pull request:

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

    Use ForkJoinPool as executorService

    ForkJoinPool: threads are created only if there are waiting tasks. They 
expire after 2seconds (it's
    hardcoded in the jdk code).
    ForkJoinPool is better than ThreadPoolExecutor
    It's available in the JDK 1.7 

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

    $ git pull https://github.com/tedyu/spark master

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

    https://github.com/apache/spark/pull/9054.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 #9054
    
----
commit 7c096c442ace2a1ef411e1755a3abf9f7fe04a50
Author: tedyu <[email protected]>
Date:   2015-10-09T16:50:22Z

    Use VectorizedOrcInputFormat in place of OrcInputFormat

commit 6896968e9c8b0a13f7ad2bdc020014f89c1bca08
Author: tedyu <[email protected]>
Date:   2015-10-10T00:01:40Z

    Rollback VectorizedOrcInputFormat

commit e5e0883f36de376a1daab29440a3b18c9ae84087
Author: tedyu <[email protected]>
Date:   2015-10-10T00:06:14Z

    Use ForkJoinPool as executorService

commit 43c4730ae4264af9549142f1d8e5fe710ce15d73
Author: tedyu <[email protected]>
Date:   2015-10-10T00:06:52Z

    Add import for ForkJoinPool

----


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