-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-5840][SQL] HiveContext cannot be serialized due to tuple extraction #4628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Test build #27564 has started for PR 4628 at commit
|
@transient protected[hive] lazy val hiveconf: HiveConf = { | ||
setConf(sessionState.getConf.getAllProperties) | ||
if (sessionState.out == null) { | ||
sessionState.out = new PrintStream(outputBuffer, true, "UTF-8") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this here and not with the initialization of session state?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops
Test build #27564 has finished for PR 4628 at commit
|
Test PASSed. |
@marmbrus I updated it with test cases. |
Test build #27676 has started for PR 4628 at commit
|
Test build #27676 has finished for PR 4628 at commit
|
Test PASSed. |
Merged to master and 1.3. Thanks for adding the tests too! |
…ction Also added test cases for checking the serializability of HiveContext and SQLContext. Author: Reynold Xin <rxin@databricks.com> Closes #4628 from rxin/SPARK-5840 and squashes the following commits: ecb3bcd [Reynold Xin] test cases and reviews. 55eb822 [Reynold Xin] [SPARK-5840][SQL] HiveContext cannot be serialized due to tuple extraction. (cherry picked from commit f0e3b71) Signed-off-by: Michael Armbrust <michael@databricks.com>
Also added test cases for checking the serializability of HiveContext and SQLContext.