Skip to content

Commit

Permalink
sbt fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
noCharger committed Apr 27, 2024
1 parent 687facc commit c1fc8fa
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ import org.opensearch.search.sort.SortOrder
import org.apache.spark.SparkConf
import org.apache.spark.internal.Logging
import org.apache.spark.scheduler.{SparkListener, SparkListenerApplicationEnd}
import org.apache.spark.sql.FlintJob.createSparkSession
import org.apache.spark.sql.flint.config.FlintSparkConf
import org.apache.spark.sql.flint.config.FlintSparkConf.REPL_INACTIVITY_TIMEOUT_MILLIS
import org.apache.spark.util.ThreadUtils

/**
Expand Down Expand Up @@ -139,11 +137,12 @@ object FlintREPL extends Logging with FlintJobExecutor {
val sessionTimerContext = getTimerContext(MetricConstants.REPL_PROCESSING_TIME_METRIC)

/**
* Transition the session update logic from {@link org.apache.spark.util.ShutdownHookManager} to {@link SparkListenerApplicationEnd}.
* This change helps prevent interruptions to asynchronous SigV4A signing during REPL shutdown.
* Transition the session update logic from {@link
* org.apache.spark.util.ShutdownHookManager} to {@link SparkListenerApplicationEnd}. This
* change helps prevent interruptions to asynchronous SigV4A signing during REPL shutdown.
*
* Cancelling an EMR job directly when SigV4a signer in use could otherwise lead to stale sessions. For
* tracking, see the GitHub issue:
* Cancelling an EMR job directly when SigV4a signer in use could otherwise lead to stale
* sessions. For tracking, see the GitHub issue:
* https://github.com/opensearch-project/opensearch-spark/issues/320
*/
spark.sparkContext.addSparkListener(
Expand Down

0 comments on commit c1fc8fa

Please sign in to comment.