leesf commented on a change in pull request #1647: URL: https://github.com/apache/incubator-hudi/pull/1647#discussion_r429313527
########## File path: hudi-utilities/src/main/java/org/apache/hudi/utilities/deltastreamer/HoodieDeltaStreamer.java ########## @@ -416,10 +425,12 @@ public DeltaSync getDeltaSync() { jssc.setLocalProperty("spark.scheduler.pool", SchedulerConfGenerator.DELTASYNC_POOL_NAME); } try { + int iteration = 1; while (!isShutdownRequested()) { try { long start = System.currentTimeMillis(); - Option<String> scheduledCompactionInstant = deltaSync.syncOnce(); + HoodieMetrics.setTableName(cfg.metricsTableName + "_" + iteration); Review comment: @pratyakshsharma Thanks for the fix, I have a small question, when using Spark Streaming writing to Hudi (which seems like the continuous mode of deltastreamer), the exception will happen again? ---------------------------------------------------------------- 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: us...@infra.apache.org