diff options
author | Liang-Chi Hsieh <viirya@appier.com> | 2015-09-17 10:02:15 -0700 |
---|---|---|
committer | Davies Liu <davies.liu@gmail.com> | 2015-09-17 10:02:15 -0700 |
commit | 136c77d8bbf48f7c45dd7c3fbe261a0476f455fe (patch) | |
tree | ddad12bd74b684333d08ca2f697b2d8a0e134355 /core | |
parent | c88bb5df94f9696677c3a429472114bc66f32a52 (diff) | |
download | spark-136c77d8bbf48f7c45dd7c3fbe261a0476f455fe.tar.gz spark-136c77d8bbf48f7c45dd7c3fbe261a0476f455fe.tar.bz2 spark-136c77d8bbf48f7c45dd7c3fbe261a0476f455fe.zip |
[SPARK-10642] [PYSPARK] Fix crash when calling rdd.lookup() on tuple keys
JIRA: https://issues.apache.org/jira/browse/SPARK-10642
When calling `rdd.lookup()` on a RDD with tuple keys, `portable_hash` will return a long. That causes `DAGScheduler.submitJob` to throw `java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer`.
Author: Liang-Chi Hsieh <viirya@appier.com>
Closes #8796 from viirya/fix-pyrdd-lookup.
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions