pengzhiwei2018 commented on a change in pull request #2322:
URL: https://github.com/apache/hudi/pull/2322#discussion_r542999821
##########
File path:
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/table/action/rollback/SparkMarkerBasedRollbackStrategy.java
##########
@@ -52,6 +52,7 @@ public SparkMarkerBasedRollbackStrategy(HoodieTable<T,
JavaRDD<HoodieRecord<T>>,
MarkerFiles markerFiles = new MarkerFiles(table,
instantToRollback.getTimestamp());
List<String> markerFilePaths = markerFiles.allMarkerFilePaths();
int parallelism = Math.max(Math.min(markerFilePaths.size(),
config.getRollbackParallelism()), 1);
+ jsc.setJobGroup(this.getClass().getSimpleName(), "Marker files
rollback");
Review comment:
@leesf @lw309637554 Maybe we can make all of the spark job in hoodie
have a job group name. But if user does some spark action after the hoodie
job.The user's job may reuse the hoodie's job group name.It is hard to control
the user's behavior.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]