This project has retired. For details please refer to its
Attic page.
SparkRuntimeContext (Apache Crunch 0.11.0 API)
org.apache.crunch.impl.spark
Class SparkRuntimeContext
java.lang.Object
org.apache.crunch.impl.spark.SparkRuntimeContext
- All Implemented Interfaces:
- Serializable
public class SparkRuntimeContext
- extends Object
- implements Serializable
- See Also:
- Serialized Form
SparkRuntimeContext
public SparkRuntimeContext(String jobName,
org.apache.spark.Accumulator<Map<String,Map<String,Long>>> counters,
org.apache.spark.broadcast.Broadcast<byte[]> broadConf)
setConf
public void setConf(org.apache.spark.broadcast.Broadcast<byte[]> broadConf)
initialize
public void initialize(DoFn<?,?> fn,
Integer tid)
getConfiguration
public org.apache.hadoop.conf.Configuration getConfiguration()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.