Skip to content

Conversation

@rdblue
Copy link
Contributor

@rdblue rdblue commented Jun 14, 2019

This was causing NullPointerException in PartitionData.get. When two Spark tasks started at the same time on an executor, both would load the same partition spec instance because of the spec parser's cache. One thread would create lazyJavaClasses and another would access it before it was fully initialized, causing Spark's converter to partition to cache null classes for some partitions, leading to the NPE from PartitionData.get.

Copy link
Contributor

@rdsr rdsr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@rdblue rdblue merged commit 33b4db6 into apache:master Jun 18, 2019
@rdblue
Copy link
Contributor Author

rdblue commented Jun 18, 2019

Merged. Thanks for reviewing, @rdsr!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants