public class WordCountJobSetupImpl extends java.lang.Object implements JobSetupInf
Example how to setup a custom hadoop job. This is called by Hadoop Tasklet to create the job so that the Tasklet can send the job to Hadoop for running.
You can implement your own custom job by implementing this class and returning
a JobConf that will be run by the Tasklet. To do this implement this interface JobSetupInf
and
any supporting code and include in a JAR file and place in the lib
directory of
the SFB.
Constructor and Description |
---|
WordCountJobSetupImpl() |
Modifier and Type | Method and Description |
---|---|
JobConf |
initializeHadoopJob(Configuration conf,
java.lang.String jobName) |
public JobConf initializeHadoopJob(Configuration conf, java.lang.String jobName)
initializeHadoopJob
in interface JobSetupInf
Copyright © Grand Logic, Inc. All Rights Reserved.