All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.spark.deploy.history.RollingEventLogFilesWriterSpyt.scala Maven / Gradle / Ivy

The newest version!
package org.apache.spark.deploy.history

import org.apache.hadoop.conf.Configuration
import org.apache.spark.SparkConf
import tech.ytsaurus.spyt.patch.annotations.{OriginClass, Subclass}

import java.net.URI

@Subclass
@OriginClass("org.apache.spark.deploy.history.RollingEventLogFilesWriter")
class RollingEventLogFilesWriterSpyt(
    appId: String,
    appAttemptId : Option[String],
    logBaseDir: URI,
    sparkConf: SparkConf,
    hadoopConf: Configuration)
  extends RollingEventLogFilesWriter(appId, appAttemptId, logBaseDir, sparkConf, hadoopConf) {

  override def stop(): Unit = {
    super.stop()
    fileSystem.close()
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy