public class SparkEnv
extends java.lang.Object
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,
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() |
java.lang.String |
executorId() |
static SparkEnv |
get()
Returns the SparkEnv.
|
protected static void |
initializeLogIfNecessary(boolean isInterpreter) |
protected static boolean |
isTraceEnabled() |
protected static org.slf4j.Logger |
log() |
protected static void |
logDebug(scala.Function0<java.lang.String> msg) |
protected static void |
logDebug(scala.Function0<java.lang.String> msg,
java.lang.Throwable throwable) |
protected static void |
logError(scala.Function0<java.lang.String> msg) |
protected static void |
logError(scala.Function0<java.lang.String> msg,
java.lang.Throwable throwable) |
protected static void |
logInfo(scala.Function0<java.lang.String> msg) |
protected static void |
logInfo(scala.Function0<java.lang.String> msg,
java.lang.Throwable throwable) |
protected static java.lang.String |
logName() |
protected static void |
logTrace(scala.Function0<java.lang.String> msg) |
protected static void |
logTrace(scala.Function0<java.lang.String> msg,
java.lang.Throwable throwable) |
protected static void |
logWarning(scala.Function0<java.lang.String> msg) |
protected static void |
logWarning(scala.Function0<java.lang.String> msg,
java.lang.Throwable throwable) |
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() |
public SparkEnv(java.lang.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()
protected static java.lang.String logName()
protected static org.slf4j.Logger log()
protected static void logInfo(scala.Function0<java.lang.String> msg)
protected static void logDebug(scala.Function0<java.lang.String> msg)
protected static void logTrace(scala.Function0<java.lang.String> msg)
protected static void logWarning(scala.Function0<java.lang.String> msg)
protected static void logError(scala.Function0<java.lang.String> msg)
protected static void logInfo(scala.Function0<java.lang.String> msg, java.lang.Throwable throwable)
protected static void logDebug(scala.Function0<java.lang.String> msg, java.lang.Throwable throwable)
protected static void logTrace(scala.Function0<java.lang.String> msg, java.lang.Throwable throwable)
protected static void logWarning(scala.Function0<java.lang.String> msg, java.lang.Throwable throwable)
protected static void logError(scala.Function0<java.lang.String> msg, java.lang.Throwable throwable)
protected static boolean isTraceEnabled()
protected static void initializeLogIfNecessary(boolean isInterpreter)
public java.lang.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()