class
SparkEnv extends Logging
Instance Constructors
-
new
SparkEnv(executorId: String, actorSystem: ActorSystem, serializer: Serializer, closureSerializer: Serializer, cacheManager: CacheManager, mapOutputTracker: MapOutputTracker, shuffleFetcher: ShuffleFetcher, broadcastManager: BroadcastManager, blockManager: BlockManager, connectionManager: ConnectionManager, securityManager: SecurityManager, httpFileServer: HttpFileServer, sparkFilesDir: String, metricsSystem: MetricsSystem, conf: SparkConf)
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
val
actorSystem: ActorSystem
-
final
def
asInstanceOf[T0]: T0
-
val
blockManager: BlockManager
-
val
broadcastManager: BroadcastManager
-
val
cacheManager: CacheManager
-
def
clone(): AnyRef
-
val
closureSerializer: Serializer
-
-
val
connectionManager: ConnectionManager
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
val
executorId: String
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
val
httpFileServer: HttpFileServer
-
final
def
isInstanceOf[T0]: Boolean
-
def
isTraceEnabled(): Boolean
-
def
log: Logger
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
-
def
logDebug(msg: ⇒ String): Unit
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
-
def
logError(msg: ⇒ String): Unit
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
-
def
logInfo(msg: ⇒ String): Unit
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
-
def
logTrace(msg: ⇒ String): Unit
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
-
def
logWarning(msg: ⇒ String): Unit
-
val
mapOutputTracker: MapOutputTracker
-
val
metricsSystem: MetricsSystem
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
securityManager: SecurityManager
-
-
val
shuffleFetcher: ShuffleFetcher
-
val
shuffleMemoryMap: HashMap[Long, Long]
-
val
sparkFilesDir: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
:: DeveloperApi :: Holds all the runtime environment objects for a running Spark instance (either master or worker), including the serializer, Akka actor system, block manager, map output tracker, etc. Currently Spark code finds the SparkEnv through a thread-local variable, so each thread that accesses these objects needs to have the right SparkEnv set. You can get the current environment with SparkEnv.get (e.g. after creating a SparkContext) and set it with SparkEnv.set.
NOTE: This is not intended for external use. This is exposed for Shark and may be made private in a future release.