Github user JoshRosen commented on a diff in the pull request:
https://github.com/apache/spark/pull/2351#discussion_r18098324
--- Diff: docs/configuration.md ---
@@ -207,6 +207,25 @@ Apart from these, the following properties are also
available, and may be useful
</td>
</tr>
<tr>
+ <td><code>spark.python.profile</code></td>
+ <td>false</td>
+ <td>
+ Enable profiling in Python worker, the profile result will show up by
`sc.show_profiles()`,
+ or it will be displayed before the driver exiting. It also can be
dumped into disk by
+ `sc.dump_profiles(path)`. If some of the profile results had been
displayed maually,
+ they will not be displayed automatically before driver exiting.
--- End diff --
Ah, right. If it's been manually dumped, the it won't be dumped again when
exiting. If it's been manually dumped _or_ displayed, then it won't be
displayed when exiting.
This makes sense; sorry for the confusion.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]