class SparkEnv extends Logging
:: DeveloperApi :: Holds all the runtime environment objects for a running Spark instance (either master or worker), including the serializer, RpcEnv, block manager, map output tracker, etc. Currently Spark code finds the SparkEnv through a global variable, so all the threads can access the same SparkEnv. It can be accessed by SparkEnv.get (e.g. after creating a SparkContext).
- Annotations
- @DeveloperApi()
- Source
- SparkEnv.scala
- Alphabetic
- By Inheritance
- SparkEnv
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- î new SparkEnv(executorId: String, rpcEnv: RpcEnv, serializer: Serializer, closureSerializer: Serializer, serializerManager: SerializerManager, mapOutputTracker: MapOutputTracker, broadcastManager: BroadcastManager, blockManager: BlockManager, securityManager: SecurityManager, metricsSystem: MetricsSystem, outputCommitCoordinator: OutputCommitCoordinator, conf: SparkConf)
Type Members
- î
implicit class LogStringContext extends AnyRef
- Definition Classes
- Logging
Value Members
- î
final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef â Any
- î
final def ##: Int
- Definition Classes
- AnyRef â Any
- î
final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef â Any
- î
final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- î val blockManager: BlockManager
- î val broadcastManager: BroadcastManager
- î
def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- î val closureSerializer: Serializer
- î val conf: SparkConf
- î
final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- î
def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef â Any
- î val executorId: String
- î
final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef â Any
- Annotations
- @IntrinsicCandidate() @native()
- î
def hashCode(): Int
- Definition Classes
- AnyRef â Any
- Annotations
- @IntrinsicCandidate() @native()
- î
def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
- î
def initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- î
def isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
- î
def log: Logger
- Attributes
- protected
- Definition Classes
- Logging
- î
def logDebug(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logDebug(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logDebug(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logDebug(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logError(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logError(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logError(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logError(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logInfo(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logInfo(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logInfo(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logInfo(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logName: String
- Attributes
- protected
- Definition Classes
- Logging
- î
def logTrace(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logTrace(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logTrace(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logTrace(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logWarning(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logWarning(entry: LogEntry, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logWarning(entry: LogEntry): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î
def logWarning(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- î val mapOutputTracker: MapOutputTracker
- î def memoryManager: MemoryManager
- î val metricsSystem: MetricsSystem
- î
final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- î
final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- î
final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- î val outputCommitCoordinator: OutputCommitCoordinator
- î val securityManager: SecurityManager
- î val serializer: Serializer
- î val serializerManager: SerializerManager
- î def shuffleManager: ShuffleManager
- î
final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- î
def toString(): String
- Definition Classes
- AnyRef â Any
- î
final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- î
final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- î
final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- î
def withLogContext(context: Map[String, String])(body: => Unit): Unit
- Attributes
- protected
- Definition Classes
- Logging
Deprecated Value Members
- î
def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)