Class

org.apache.spark.executor

SnappyCoarseGrainedExecutorBackend

Related Doc: package executor

Permalink

class SnappyCoarseGrainedExecutorBackend extends CoarseGrainedExecutorBackend

Linear Supertypes
CoarseGrainedExecutorBackend, internal.Logging, ExecutorBackend, ThreadSafeRpcEndpoint, RpcEndpoint, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SnappyCoarseGrainedExecutorBackend
  2. CoarseGrainedExecutorBackend
  3. Logging
  4. ExecutorBackend
  5. ThreadSafeRpcEndpoint
  6. RpcEndpoint
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SnappyCoarseGrainedExecutorBackend(rpcEnv: RpcEnv, driverUrl: String, executorId: String, hostName: String, cores: Int, userClassPath: Seq[URL], env: SparkEnv)

    Permalink

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. var driver: Option[RpcEndpointRef]

    Permalink
    Definition Classes
    CoarseGrainedExecutorBackend
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. var executor: Executor

    Permalink
    Definition Classes
    CoarseGrainedExecutorBackend
  10. def exitExecutor(code: Int, reason: String, throwable: Throwable, notifyDriver: Boolean = true): Unit

    Permalink

    Snappy addition (Replace System.exit with exitExecutor).

    Snappy addition (Replace System.exit with exitExecutor). We could have added functions calling System.exit to SnappyCoarseGrainedExecutorBackend but those functions will have to be brought in sync with CoarseGrainedExecutorBackend after every merge.

    Definition Classes
    SnappyCoarseGrainedExecutorBackend → CoarseGrainedExecutorBackend
  11. def exitWithoutRestart(): Unit

    Permalink
  12. def extractLogUrls: Map[String, String]

    Permalink
    Definition Classes
    CoarseGrainedExecutorBackend
  13. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean = false): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  17. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  20. def log: Logger

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def onConnected(remoteAddress: RpcAddress): Unit

    Permalink

    Invoked when remoteAddress is connected to the current node.

    Invoked when remoteAddress is connected to the current node.

    Definition Classes
    RpcEndpoint
  36. def onDisconnected(remoteAddress: RpcAddress): Unit

    Permalink

    Invoked when remoteAddress is lost.

    Invoked when remoteAddress is lost.

    Definition Classes
    CoarseGrainedExecutorBackend → RpcEndpoint
  37. def onError(cause: Throwable): Unit

    Permalink

    Invoked when any exception is thrown during handling messages.

    Invoked when any exception is thrown during handling messages.

    Definition Classes
    RpcEndpoint
  38. def onNetworkError(cause: Throwable, remoteAddress: RpcAddress): Unit

    Permalink

    Invoked when some network error happens in the connection between the current node and remoteAddress.

    Invoked when some network error happens in the connection between the current node and remoteAddress.

    Definition Classes
    RpcEndpoint
  39. def onStart(): Unit

    Permalink

    Invoked before RpcEndpoint starts to handle any message.

    Invoked before RpcEndpoint starts to handle any message.

    Definition Classes
    SnappyCoarseGrainedExecutorBackend → CoarseGrainedExecutorBackend → RpcEndpoint
  40. def onStop(): Unit

    Permalink

    Invoked when RpcEndpoint is stopping.

    Invoked when RpcEndpoint is stopping. self will be null in this method and you cannot use it to send or ask messages.

    Definition Classes
    SnappyCoarseGrainedExecutorBackend → RpcEndpoint
  41. def receive: PartialFunction[Any, Unit]

    Permalink

    Process messages from RpcEndpointRef.send or RpcCallContext.reply).

    Process messages from RpcEndpointRef.send or RpcCallContext.reply). If receiving a unmatched message, SparkException will be thrown and sent to onError.

    Definition Classes
    CoarseGrainedExecutorBackend → RpcEndpoint
  42. def receiveAndReply(context: RpcCallContext): PartialFunction[Any, Unit]

    Permalink

    Process messages from RpcEndpointRef.ask.

    Process messages from RpcEndpointRef.ask. If receiving a unmatched message, SparkException will be thrown and sent to onError.

    Definition Classes
    RpcEndpoint
  43. def registerExecutor: Executor

    Permalink
    Attributes
    protected
    Definition Classes
    SnappyCoarseGrainedExecutorBackend → CoarseGrainedExecutorBackend
  44. val rpcEnv: RpcEnv

    Permalink

    The RpcEnv that this RpcEndpoint is registered to.

    The RpcEnv that this RpcEndpoint is registered to.

    Definition Classes
    SnappyCoarseGrainedExecutorBackend → CoarseGrainedExecutorBackend → RpcEndpoint
  45. final def self: RpcEndpointRef

    Permalink

    The RpcEndpointRef of this RpcEndpoint.

    The RpcEndpointRef of this RpcEndpoint. self will become valid when onStart is called. And self will become null when onStop is called.

    Note: Because before onStart, RpcEndpoint has not yet been registered and there is not valid RpcEndpointRef for it. So don't call self before onStart is called.

    Definition Classes
    RpcEndpoint
  46. def statusUpdate(taskId: Long, state: TaskState.TaskState, data: ByteBuffer): Unit

    Permalink

    Avoid sending any message for TaskState.RUNNING which serves no purpose.

    Avoid sending any message for TaskState.RUNNING which serves no purpose.

    Definition Classes
    SnappyCoarseGrainedExecutorBackend → CoarseGrainedExecutorBackend → ExecutorBackend
  47. final def stop(): Unit

    Permalink

    A convenient method to stop RpcEndpoint.

    A convenient method to stop RpcEndpoint.

    Definition Classes
    RpcEndpoint
  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  49. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  50. final def wait(): Unit

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

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

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

Inherited from CoarseGrainedExecutorBackend

Inherited from internal.Logging

Inherited from ExecutorBackend

Inherited from ThreadSafeRpcEndpoint

Inherited from RpcEndpoint

Inherited from AnyRef

Inherited from Any

Ungrouped