public class Hadoop3MRPlanner extends HadoopPlanner
Hadoop3MRFlowConnector.
Notes:
Custom JobConf properties
A custom JobConf instance can be passed to this planner by calling HadoopPlanner.copyJobConf(java.util.Map, org.apache.hadoop.mapred.JobConf)
on a map properties object before constructing a new Hadoop3MRFlowConnector.
A better practice would be to set Hadoop properties directly on the map properties object handed to the FlowConnector. All values in the map will be passed to a new default JobConf instance to be used as defaults for all resulting Flow instances.
For example, properties.set("mapred.child.java.opts","-Xmx512m"); would convince Hadoop
to spawn all child jvms with a heap of 512MB.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PLATFORM_NAME |
| Constructor and Description |
|---|
Hadoop3MRPlanner() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkPlatform(org.apache.hadoop.conf.Configuration conf) |
static void |
copyConfiguration(java.util.Map<java.lang.Object,java.lang.Object> properties,
org.apache.hadoop.conf.Configuration configuration)
Method copyJobConf adds the given JobConf values to the given properties object.
|
static void |
copyProperties(org.apache.hadoop.conf.Configuration configuration,
java.util.Map<java.lang.Object,java.lang.Object> properties)
Method copyProperties adds the given Map values to the given JobConf object.
|
cascading.flow.planner.PlannerInfo |
getPlannerInfo(java.lang.String registryName) |
configRuleRegistryDefaults, copyJobConf, copyProperties, createFlow, createJobConf, getDefaultConfig, getDefaultURIScheme, getFlowStepFactory, getPlatformInfo, getURIScheme, initialize, makeTempTapbuildFlow, createFlowElementGraph, getAssertionLevel, getDebugLevel, getDefaultProperties, getFlowNodeFactory, handleExceptionDuringPlanning, makeTempTap, resolveAssemblyPlanners, resolveTails, verifyAllTaps, verifyAssembly, verifyCheckpoints, verifyPipeAssemblyEndPoints, verifyResult, verifyResultInternal, verifySourceNotSinks, verifyTaps, verifyTrapspublic static final java.lang.String PLATFORM_NAME
public Hadoop3MRPlanner()
public static void copyConfiguration(java.util.Map<java.lang.Object,java.lang.Object> properties, org.apache.hadoop.conf.Configuration configuration)
properties - of type Mapconfiguration - of type JobConfpublic static void copyProperties(org.apache.hadoop.conf.Configuration configuration, java.util.Map<java.lang.Object,java.lang.Object> properties)
configuration - of type JobConfproperties - of type Mappublic cascading.flow.planner.PlannerInfo getPlannerInfo(java.lang.String registryName)
getPlannerInfo in class HadoopPlannerprotected void checkPlatform(org.apache.hadoop.conf.Configuration conf)
checkPlatform in class HadoopPlannerCopyright © 2007-2021 Cascading Maintainers. All Rights Reserved.