Repository: spark Updated Branches: refs/heads/branch-2.3 49e1eb8bd -> 0c7d82b1c
[SPARK-25933][DOCUMENTATION] Fix pstats.Stats() reference in configuration.md ## What changes were proposed in this pull request? Change ptats.Stats() to pstats.Stats() for `spark.python.profile.dump` in configuration.md. ## How was this patch tested? Doc test Closes #22933 from AlexHagerman/doc_fix. Authored-by: Alex Hagerman <[email protected]> Signed-off-by: Sean Owen <[email protected]> (cherry picked from commit 1a7abf3f453f7d6012d7e842cf05f29f3afbb3bc) Signed-off-by: Sean Owen <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/0c7d82b1 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/0c7d82b1 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/0c7d82b1 Branch: refs/heads/branch-2.3 Commit: 0c7d82b1c11c3966a241972f2037f154af2f6781 Parents: 49e1eb8 Author: Alex Hagerman <[email protected]> Authored: Sat Nov 3 12:56:59 2018 -0500 Committer: Sean Owen <[email protected]> Committed: Sat Nov 3 12:57:34 2018 -0500 ---------------------------------------------------------------------- docs/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/0c7d82b1/docs/configuration.md ---------------------------------------------------------------------- diff --git a/docs/configuration.md b/docs/configuration.md index c85c04f..153066b 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -427,7 +427,7 @@ Apart from these, the following properties are also available, and may be useful <td> The directory which is used to dump the profile result before driver exiting. The results will be dumped as separated file for each RDD. They can be loaded - by ptats.Stats(). If this is specified, the profile result will not be displayed + by <code>pstats.Stats()</code>. If this is specified, the profile result will not be displayed automatically. </td> </tr> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
