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

polynote.kernel.remote.RemoteSparkKernel.scala Maven / Gradle / Ivy

There is a newer version: 0.4.4
Show newest version
package polynote.kernel.remote

import polynote.kernel.environment.NotebookUpdates
import polynote.kernel.{BaseEnv, CellEnv, GlobalEnv, Kernel}
import zio.{Promise, RIO}

class RemoteSparkKernel extends Kernel.Factory.Service {
  override def apply(): RIO[BaseEnv with GlobalEnv with CellEnv with NotebookUpdates, Kernel] =
    RemoteKernel(new SocketTransport(new SocketTransport.DeploySubprocess(DeploySparkSubmit)))
}

object RemoteSparkKernel extends RemoteSparkKernel




© 2015 - 2024 Weber Informatics LLC | Privacy Policy