Class

org.apache.spark.executor

SnappyExecutor

Related Doc: package executor

Permalink

class SnappyExecutor extends Executor

Linear Supertypes
Executor, internal.Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SnappyExecutor
  2. Executor
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SnappyExecutor(executorId: String, executorHostname: String, env: SparkEnv, userClassPath: Seq[URL] = Nil, exceptionHandler: SnappyUncaughtExceptionHandler, isLocal: Boolean = false)

    Permalink

Type Members

  1. class ClassLoaderKey extends AnyRef

    Permalink
  2. class TaskRunner extends Runnable

    Permalink
    Definition Classes
    Executor

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addReplClassLoaderIfNeeded(parent: ClassLoader): ClassLoader

    Permalink

    If the REPL is in use, add another ClassLoader that will read new classes defined by the REPL as the user types code

    If the REPL is in use, add another ClassLoader that will read new classes defined by the REPL as the user types code

    Definition Classes
    Executor
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val conf: SparkConf

    Permalink
    Attributes
    protected
    Definition Classes
    Executor
  8. def createClassLoader(): MutableURLClassLoader

    Permalink

    Create a ClassLoader for use in tasks, adding any JARs specified by the user or any classes created by the interpreter to the search path

    Create a ClassLoader for use in tasks, adding any JARs specified by the user or any classes created by the interpreter to the search path

    Attributes
    protected
    Definition Classes
    Executor
  9. val currentJars: HashMap[String, Long]

    Permalink
    Attributes
    protected
    Definition Classes
    Executor
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getLocalDir: String

    Permalink
  15. def handleNonDefaultCpusPerTask(init: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    SnappyExecutor → Executor
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  18. def invalidateReplLoader(replDir: String): Unit

    Permalink
  19. def isFatalError(t: Throwable): Boolean

    Permalink
    Definition Classes
    SnappyExecutor → Executor
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isStoreCloseException(t: Throwable): Boolean

    Permalink
    Definition Classes
    SnappyExecutor → Executor
  22. def isStoreException(t: Throwable): Boolean

    Permalink
    Definition Classes
    SnappyExecutor → Executor
  23. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  24. def killAllTasks(interruptThread: Boolean): Unit

    Permalink

    Function to kill the running tasks in an executor.

    Function to kill the running tasks in an executor. This can be called by executor back-ends to kill the tasks instead of taking the JVM down.

    interruptThread

    whether to interrupt the task thread

    Definition Classes
    Executor
  25. def killTask(taskId: Long, interruptThread: Boolean): Unit

    Permalink
    Definition Classes
    Executor
  26. def launchTask(context: ExecutorBackend, taskId: Long, attemptNumber: Int, taskName: String, serializedTask: ByteBuffer, taskData: (Array[Byte], Long)): Unit

    Permalink
    Definition Classes
    Executor
  27. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  31. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  32. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  34. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  35. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  36. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  37. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  38. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. def removeJarsFromExecutorLoader(jars: Array[String]): Unit

    Permalink
  43. var replClassLoader: ClassLoader

    Permalink
    Attributes
    protected
    Definition Classes
    Executor
  44. def stop(): Unit

    Permalink
    Definition Classes
    Executor
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  46. final val taskReaperPool: ThreadPoolExecutor

    Permalink
    Attributes
    protected
    Definition Classes
    Executor
  47. final val threadPool: ThreadPoolExecutor

    Permalink
    Attributes
    protected
    Definition Classes
    Executor
  48. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  49. def updateDependencies(newFiles: HashMap[String, Long], newJars: HashMap[String, Long]): Unit

    Permalink

    Download any missing dependencies if we receive a new set of files and JARs from the SparkContext.

    Download any missing dependencies if we receive a new set of files and JARs from the SparkContext. Also adds any new JARs we fetched to the class loader.

    Definition Classes
    SnappyExecutor → Executor
  50. def updateMainLoader(jars: Array[String]): Unit

    Permalink
  51. var urlClassLoader: MutableURLClassLoader

    Permalink
    Attributes
    protected
    Definition Classes
    Executor
  52. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Executor

Inherited from internal.Logging

Inherited from AnyRef

Inherited from Any

Ungrouped