Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When running Spark tests through SBT, useadd

Code Block
export java_opts=" javaOptions in Test += "-agentpath:/path/to/yjp/agent/",

to SparkBuild.scala to launch the tests with the YourKit profiler agent enabled.  The platform-specific paths to the profiler agents are listed in the YourKit documentation.  Note that java_opts is in lower-case.