Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.4.0
-
None
Description
This code:
private[spark] object RDDInfo { private val callsiteLongForm = SparkEnv.get.conf.get(EVENT_LOG_CALLSITE_LONG_FORM)
Has two problems:
- it keeps that value across different SparkEnv instances. So e.g. if you have two tests that rely on different values for that config, one of them will break.
- it assumes tests always initialize a SparkEnv. e.g. if you run "core/testOnly *.AppStatusListenerSuite", it will fail because SparkEnv.get returns null.
Attachments
Issue Links
- is caused by
-
SPARK-23820 Allow the long form of call sites to be recorded in the log
- Resolved
- links to