-
Notifications
You must be signed in to change notification settings - Fork 39
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
Generate an output file with runtime and build information #705
Conversation
Signed-off-by: Ahmed Hussein (amahussein) <[email protected]> Fixes NVIDIA#699 This PR is to dump the runtime/build information of the tools jar to the output folder. By knowing which Tools version has been used and which Spark version has been used in the runtime, developers can have more insights about the output and the numbers generated by the Tools. For Qualification: - `rapids_4_spark_qualification_output/runtime.properties` For Profiling: - `rapids_4_spark_profile/runtime.properties` A sample of the generated file is as follows: Notice that - `runtime.spark.version` is the spark version loaded during runtime, while `build.spark.version` is the version used to build the tools jar. - `build.verion` represents the Tools jar version ``` build.hadoop.version=3.3.6 build.java.version=1.8.0_322 build.scala.version=2.12.15 build.spark.version=3.1.1 build.version=23.10.2-SNAPSHOT runtime.spark.version=3.3.3 ```
Signed-off-by: Ahmed Hussein (amahussein) <[email protected]>
@viadea and @kuhushukla |
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.
Nit: Need to update year in copyright section.
core/src/main/scala/org/apache/spark/sql/rapids/tool/util/RapidsToolsConfUtil.scala
Outdated
Show resolved
Hide resolved
core/src/main/scala/org/apache/spark/sql/rapids/tool/util/RuntimeReportGenerator.scala
Show resolved
Hide resolved
Signed-off-by: Ahmed Hussein (amahussein) <[email protected]>
Signed-off-by: Ahmed Hussein (amahussein) <[email protected]>
Thanks @nartal1 |
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.
Thanks @amahussein !
Signed-off-by: Ahmed Hussein (amahussein) [email protected]
Fixes #699
This PR is to dump the runtime/build information of the tools jar to the output folder. By knowing which Tools version has been used and which Spark version has been used in the runtime, developers can have more insights about the output and the numbers generated by the Tools.
For Qualification:
rapids_4_spark_qualification_output/runtime.properties
For Profiling:
rapids_4_spark_profile/runtime.properties
A sample of the generated file is as follows:
Notice that
runtime.spark.version
is the spark version loaded during runtime, whilebuild.spark.version
is the version used to build the tools jar.build.verion
represents the Tools jar version