public class SparkEnv extends java.lang.Object implements Logging
NOTE: This is not intended for external use. This is exposed for Shark and may be made private in a future release.
Constructor and Description |
---|
SparkEnv(java.lang.String executorId,
org.apache.spark.rpc.RpcEnv rpcEnv,
akka.actor.ActorSystem _actorSystem,
Serializer serializer,
Serializer closureSerializer,
org.apache.spark.CacheManager cacheManager,
org.apache.spark.MapOutputTracker mapOutputTracker,
org.apache.spark.shuffle.ShuffleManager shuffleManager,
org.apache.spark.broadcast.BroadcastManager broadcastManager,
org.apache.spark.network.BlockTransferService blockTransferService,
org.apache.spark.storage.BlockManager blockManager,
org.apache.spark.SecurityManager securityManager,
java.lang.String sparkFilesDir,
org.apache.spark.metrics.MetricsSystem metricsSystem,
org.apache.spark.memory.MemoryManager memoryManager,
org.apache.spark.scheduler.OutputCommitCoordinator outputCommitCoordinator,
SparkConf conf) |
Modifier and Type | Method and Description |
---|---|
akka.actor.ActorSystem |
actorSystem() |
org.apache.spark.storage.BlockManager |
blockManager() |
org.apache.spark.network.BlockTransferService |
blockTransferService() |
org.apache.spark.broadcast.BroadcastManager |
broadcastManager() |
org.apache.spark.CacheManager |
cacheManager() |
Serializer |
closureSerializer() |
SparkConf |
conf() |
static java.lang.String |
driverActorSystemName() |
static java.lang.String |
executorActorSystemName() |
java.lang.String |
executorId() |
static SparkEnv |
get()
Returns the SparkEnv.
|
static SparkEnv |
getThreadLocal()
Returns the ThreadLocal SparkEnv.
|
java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object> |
hadoopJobMetadata() |
boolean |
isStopped() |
org.apache.spark.MapOutputTracker |
mapOutputTracker() |
org.apache.spark.memory.MemoryManager |
memoryManager() |
org.apache.spark.metrics.MetricsSystem |
metricsSystem() |
org.apache.spark.scheduler.OutputCommitCoordinator |
outputCommitCoordinator() |
org.apache.spark.rpc.RpcEnv |
rpcEnv() |
org.apache.spark.SecurityManager |
securityManager() |
Serializer |
serializer() |
static void |
set(SparkEnv e) |
org.apache.spark.shuffle.ShuffleManager |
shuffleManager() |
java.lang.String |
sparkFilesDir() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public SparkEnv(java.lang.String executorId, org.apache.spark.rpc.RpcEnv rpcEnv, akka.actor.ActorSystem _actorSystem, Serializer serializer, Serializer closureSerializer, org.apache.spark.CacheManager cacheManager, org.apache.spark.MapOutputTracker mapOutputTracker, org.apache.spark.shuffle.ShuffleManager shuffleManager, org.apache.spark.broadcast.BroadcastManager broadcastManager, org.apache.spark.network.BlockTransferService blockTransferService, org.apache.spark.storage.BlockManager blockManager, org.apache.spark.SecurityManager securityManager, java.lang.String sparkFilesDir, org.apache.spark.metrics.MetricsSystem metricsSystem, org.apache.spark.memory.MemoryManager memoryManager, org.apache.spark.scheduler.OutputCommitCoordinator outputCommitCoordinator, SparkConf conf)
public static java.lang.String driverActorSystemName()
public static java.lang.String executorActorSystemName()
public static void set(SparkEnv e)
public static SparkEnv get()
public static SparkEnv getThreadLocal()
public java.lang.String executorId()
public org.apache.spark.rpc.RpcEnv rpcEnv()
public Serializer serializer()
public Serializer closureSerializer()
public org.apache.spark.CacheManager cacheManager()
public org.apache.spark.MapOutputTracker mapOutputTracker()
public org.apache.spark.shuffle.ShuffleManager shuffleManager()
public org.apache.spark.broadcast.BroadcastManager broadcastManager()
public org.apache.spark.network.BlockTransferService blockTransferService()
public org.apache.spark.storage.BlockManager blockManager()
public org.apache.spark.SecurityManager securityManager()
public java.lang.String sparkFilesDir()
public org.apache.spark.metrics.MetricsSystem metricsSystem()
public org.apache.spark.memory.MemoryManager memoryManager()
public org.apache.spark.scheduler.OutputCommitCoordinator outputCommitCoordinator()
public SparkConf conf()
public akka.actor.ActorSystem actorSystem()
public boolean isStopped()
public java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object> hadoopJobMetadata()