Skip to content

Commit

Permalink
[SPARK-25933][DOCUMENTATION] Fix pstats.Stats() reference in configur…
Browse files Browse the repository at this point in the history
…ation.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 apache#22933 from AlexHagerman/doc_fix.

Authored-by: Alex Hagerman <alex@unexpectedeof.net>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
(cherry picked from commit 1a7abf3)
Signed-off-by: Sean Owen <sean.owen@databricks.com>
  • Loading branch information
Alex Hagerman authored and kai-chi committed Aug 1, 2019
1 parent dfe321c commit 478cada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,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>
Expand Down

0 comments on commit 478cada

Please sign in to comment.