Package org.apache.wayang.profiler.spark
Class SparkSourceProfiler
java.lang.Object
org.apache.wayang.profiler.spark.SparkOperatorProfiler
org.apache.wayang.profiler.spark.SparkSourceProfiler
- Direct Known Subclasses:
SparkCollectionSourceProfiler,SparkTextFileSourceProfiler
SparkOperatorProfiler implementation for SparkExecutionOperators with one input and one output.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wayang.profiler.spark.SparkOperatorProfiler
SparkOperatorProfiler.Result -
Field Summary
Fields inherited from class org.apache.wayang.profiler.spark.SparkOperatorProfiler
cpuMhz, dataQuantumGenerators, executionPaddingTime, functionCompiler, inputCardinalities, logger, numCoresPerMachine, numMachines, numPartitions, operator, operatorGenerator, sparkExecutor -
Constructor Summary
ConstructorsConstructorDescriptionSparkSourceProfiler(Supplier<SparkExecutionOperator> operatorGenerator, Configuration configuration, Supplier<?> dataQuantumGenerator) -
Method Summary
Modifier and TypeMethodDescriptionprotected SparkOperatorProfiler.ResultExecutes the profiling task.Methods inherited from class org.apache.wayang.profiler.spark.SparkOperatorProfiler
cleanUp, createChannelInstance, createChannelInstance, evaluate, partition, prepare, prepareInput, prepareInputRdd, prepareInputRddInDriver, prepareInputRddInWorker, provideCpuCycles, provideDiskBytes, provideNetworkBytes, run
-
Constructor Details
-
SparkSourceProfiler
public SparkSourceProfiler(Supplier<SparkExecutionOperator> operatorGenerator, Configuration configuration, Supplier<?> dataQuantumGenerator)
-
-
Method Details
-
executeOperator
Description copied from class:SparkOperatorProfilerExecutes the profiling task. Requires that this instance is prepared.- Specified by:
executeOperatorin classSparkOperatorProfiler
-