GitHub user SlavikBaranov opened a pull request:
https://github.com/apache/spark/pull/6763
[SPARK-8309] [CORE] Support for more than 12M items in OpenHashMap
The problem occurs because the position mask `0xEFFFFFF` is incorrect. It
has zero 25th bit, so when capacity grows beyond 2^24, `OpenHashMap` calculates
incorrect index of value in `_values` array.
I've also added a size check in `rehash()`, so that it fails instead of
reporting invalid item indices.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SlavikBaranov/spark SPARK-8309
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6763.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 #6763
----
commit 39206563dc84e0d200c605717b69ff7485ea9c54
Author: Vyacheslav Baranov <[email protected]>
Date: 2015-06-11T15:30:47Z
SPARK-8309: Support for more than 12M items in OpenHashMap
----
---
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]