public class SparkEnv extends 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(String executorId,
org.apache.spark.rpc.RpcEnv rpcEnv,
Serializer serializer,
Serializer closureSerializer,
org.apache.spark.serializer.SerializerManager serializerManager,
org.apache.spark.MapOutputTracker mapOutputTracker,
org.apache.spark.shuffle.ShuffleManager shuffleManager,
org.apache.spark.broadcast.BroadcastManager broadcastManager,
org.apache.spark.storage.BlockManager blockManager,
org.apache.spark.SecurityManager securityManager,
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 |
---|---|
org.apache.spark.storage.BlockManager |
blockManager() |
org.apache.spark.broadcast.BroadcastManager |
broadcastManager() |
Serializer |
closureSerializer() |
SparkConf |
conf() |
String |
executorId() |
static SparkEnv |
get()
Returns the SparkEnv.
|
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.SecurityManager |
securityManager() |
Serializer |
serializer() |
org.apache.spark.serializer.SerializerManager |
serializerManager() |
static void |
set(SparkEnv e) |
org.apache.spark.shuffle.ShuffleManager |
shuffleManager() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeLogging, initializeLogIfNecessary, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public SparkEnv(String executorId, org.apache.spark.rpc.RpcEnv rpcEnv, Serializer serializer, Serializer closureSerializer, org.apache.spark.serializer.SerializerManager serializerManager, org.apache.spark.MapOutputTracker mapOutputTracker, org.apache.spark.shuffle.ShuffleManager shuffleManager, org.apache.spark.broadcast.BroadcastManager broadcastManager, org.apache.spark.storage.BlockManager blockManager, org.apache.spark.SecurityManager securityManager, org.apache.spark.metrics.MetricsSystem metricsSystem, org.apache.spark.memory.MemoryManager memoryManager, org.apache.spark.scheduler.OutputCommitCoordinator outputCommitCoordinator, SparkConf conf)
public static void set(SparkEnv e)
public static SparkEnv get()
public String executorId()
public Serializer serializer()
public Serializer closureSerializer()
public org.apache.spark.serializer.SerializerManager serializerManager()
public org.apache.spark.MapOutputTracker mapOutputTracker()
public org.apache.spark.shuffle.ShuffleManager shuffleManager()
public org.apache.spark.broadcast.BroadcastManager broadcastManager()
public org.apache.spark.storage.BlockManager blockManager()
public org.apache.spark.SecurityManager securityManager()
public org.apache.spark.metrics.MetricsSystem metricsSystem()
public org.apache.spark.memory.MemoryManager memoryManager()
public org.apache.spark.scheduler.OutputCommitCoordinator outputCommitCoordinator()
public SparkConf conf()