wForget commented on code in PR #1260:
URL: https://github.com/apache/auron/pull/1260#discussion_r2315829555
##########
spark-extension/src/main/java/org/apache/spark/sql/auron/JniBridge.java:
##########
@@ -89,10 +90,14 @@ public static boolean isDriverSide() {
public static FSDataInputWrapper openFileAsDataInputWrapper(FileSystem fs,
String path) throws Exception {
// the path is a URI string, so we need to convert it to a URI object,
ref:
// org.apache.spark.paths.SparkPath.toPath
+ TaskContextHelper$.MODULE$.setThreadNameFromTaskContext();
Review Comment:
Can we set jvm thread name in `tokio_runtime_builder.on_thread_start`?
https://github.com/apache/auron/blob/1dc88d23347955288ece7cb12edba2a48051bf7a/native-engine/auron/src/rt.rs#L115-L125
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]