[SPARK-54340][PYTHON][FOLLOW-UP] Add link and examples for run-with-viztracer#53418
Closed
zhengruifeng wants to merge 1 commit intoapache:masterfrom
Closed
[SPARK-54340][PYTHON][FOLLOW-UP] Add link and examples for run-with-viztracer#53418zhengruifeng wants to merge 1 commit intoapache:masterfrom
run-with-viztracer#53418zhengruifeng wants to merge 1 commit intoapache:masterfrom
Conversation
dongjoon-hyun
approved these changes
Dec 10, 2025
Member
dongjoon-hyun
left a comment
There was a problem hiding this comment.
+1, LGTM. Thank you, @zhengruifeng .
Merged to master/4.1 for Apache Spark 4.1.0 RC3.
dongjoon-hyun
pushed a commit
that referenced
this pull request
Dec 10, 2025
…viztracer` ### What changes were proposed in this pull request? Add link and examples for `run-with-viztracer` ### Why are the changes needed? to make it easier for developers to have a try ### Does this PR introduce _any_ user-facing change? dev-only changes ### How was this patch tested? manually check ```sh (spark_dev_313) ➜ spark git:(doc_viz) python/run-with-viztracer -h Usage: run-with-viztracer your_original_commands To view the profiling results, run: vizviewer pyspark_*.json Environment: If SPARK_VIZTRACER_OUTPUT_DIR is set, the output will be saved to the directory. Otherwise, it will be saved to the current directory. Requirements: - viztracer must be installed (pip install viztracer) Check the following documentation for more information on using viztracer: https://viztracer.readthedocs.io/en/latest/ Examples: - Start pyspark shell python/run-with-viztracer bin/pyspark --conf spark.driver.memory=16g - Start pyspark shell in Connect mode python/run-with-viztracer bin/pyspark --remote local ``` ### Was this patch authored or co-authored using generative AI tooling? no Closes #53418 from zhengruifeng/doc_viz. Authored-by: Ruifeng Zheng <ruifengz@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 4520c17) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Add link and examples for
run-with-viztracerWhy are the changes needed?
to make it easier for developers to have a try
Does this PR introduce any user-facing change?
dev-only changes
How was this patch tested?
manually check
Was this patch authored or co-authored using generative AI tooling?
no