-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Profiling tool: Print UCX and GDS parameters #2785
Conversation
Signed-off-by: Niranjan Artal <nartal@nvidia.com>
Signed-off-by: Niranjan Artal <nartal@nvidia.com>
fileWriter = None).collect() | ||
assert(rows.length == 22) // 22 properties captured. | ||
// verify ucx parameters are captured. | ||
assert(rows(1)(0).equals("spark.executorEnv.UCX_MAX_RNDV_RAILS")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is order guaranteed here? Would be better to kit reference specific rows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
order is guaranteed here. using order by propertyName in the query.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test file is still pretty big here at 1mb, can we just add these to existing file or have very basic file that just starts with them set and exits, we don’t have to actually run with them
@@ -98,7 +98,7 @@ class CollectInformation(apps: Seq[ApplicationInfo], | |||
val messageHeader = "\nSpark Rapids parameters set explicitly:\n" | |||
for (app <- apps) { | |||
if (app.allDataFrames.contains(s"propertiesDF_${app.index}")) { | |||
app.runQuery(query = app.generateRapidsProperties + " order by key", | |||
app.runQuery(query = app.generateRapidsUcxGdsProperties + " order by key", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use a more generic name here, such as generateNvidiaProperties
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
Signed-off-by: Niranjan Artal <nartal@nvidia.com>
build |
@tgravescs I have updated the event log file. Now it's smaller. PTAL. |
This is a small PR where we print ucx and gds related paremeters in output file of profiling tool.
Added eventlog which has both ucx and gds parameters for unit testing.
This fixes #2693