-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-25456][SQL][TEST] Fix PythonForeachWriterSuite #22452
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
| f(tester) | ||
| } finally { | ||
| if (tester == null) tester.close() | ||
| if (tester != null) tester.close() |
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.
e... So here's why all test failed with NPE.
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.
yes, but that NPE just covered up another NPE from SparkEnv.get.serializerManager
|
Test build #96183 has finished for PR 22452 at commit
|
|
Jenkins, retest this please |
|
LGTM |
|
Test build #96189 has finished for PR 22452 at commit
|
PythonForeachWriterSuite was failing because RowQueue now needs to have a handle on a SparkEnv with a SerializerManager, so added a mock env with a serializer manager. Also fixed a typo in the `finally` that was hiding the real exception. Tested PythonForeachWriterSuite locally, full tests via jenkins. Closes #22452 from squito/SPARK-25456. Authored-by: Imran Rashid <[email protected]> Signed-off-by: Imran Rashid <[email protected]> (cherry picked from commit a6f37b0) Signed-off-by: Imran Rashid <[email protected]>
|
merged to master & 2.4 |
PythonForeachWriterSuite was failing because RowQueue now needs to have a handle on a SparkEnv with a SerializerManager, so added a mock env with a serializer manager.
Also fixed a typo in the
finallythat was hiding the real exception.Tested PythonForeachWriterSuite locally, full tests via jenkins.