Uh oh!
There was an error while loading. Please reload this page.
[SPARK-3447][SQL] Remove explicit conversion with JListWrapper to avoid NPE - #2323
[SPARK-3447][SQL] Remove explicit conversion with JListWrapper to avoid NPE#2323marmbrus wants to merge 4 commits into
Conversation
marmbrus
commented
Sep 8, 2014
/cc @yhuai |
SparkQA
commented
Sep 8, 2014
QA tests have started for PR 2323 at commit
|
SparkQA
commented
Sep 9, 2014
QA tests have finished for PR 2323 at commit
|
yhuai
commented
Sep 9, 2014
|
marmbrus
commented
Sep 10, 2014
I've updated the usage in JSON RDD. Java Row wrapping should never happen before Kryo serialization AFAICT. |
marmbrus
commented
Sep 10, 2014
Jenkins, test this please |
SparkQA
commented
Sep 10, 2014
QA tests have started for PR 2323 at commit
|
SparkQA
commented
Sep 10, 2014
Tests timed out after a configured wait of |
marmbrus
commented
Sep 10, 2014
Jenkins, test this please. |
1 similar comment
marmbrus
commented
Sep 10, 2014
Jenkins, test this please. |
SparkQA
commented
Sep 10, 2014
QA tests have started for PR 2323 at commit
|
SparkQA
commented
Sep 10, 2014
QA tests have finished for PR 2323 at commit
|
There was a problem hiding this comment.
Oh, after checking the code again, I think .map(scalafy) will convert the JListWrapper at here to an ArrayBuffer (JListWrapper is a Buffer and Buffer's newBuilder returns ArrayBuffer) and we will not have the Kryo issue. I tried from pyspark.sql import SQLContext;SQLContext(sc).jsonRDD(sc.parallelize(['{"a":[3]}']))._jschema_rdd.collect() and it's fine.
marmbrus
commented
Sep 11, 2014
Okay, I reverted the JSON rdd changed and merged this to master. Thanks! |
mohangadm
commented
Sep 18, 2014
I have experienced the same kind of problem when using Avro with spark streaming API. Above exception shows up when used output operations. below is the avro message. message is been successfully decoded in decoder, but throws exception for output operation. |
No description provided.