Module datarush.hadoop.core
Class ContainerContextBuilder
java.lang.Object
com.actian.dataflow.cal.yarn.shared.ContainerContextBuilder
Build a container context based on the contents of the classpath specifier.
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.pervasive.datarush.hadoop.shims.yarn.ContainerContextcreateContext(com.pervasive.datarush.cluster.Platform targetPlatform, ClasspathSpecifier classpathSpec, String jobName, Class<?> mainClass, Path archivePath, com.pervasive.datarush.cluster.preferences.ClusterPreferences clusterPreferences) Create a container context.
-
Method Details
-
createContext
public static com.pervasive.datarush.hadoop.shims.yarn.ContainerContext createContext(com.pervasive.datarush.cluster.Platform targetPlatform, ClasspathSpecifier classpathSpec, String jobName, Class<?> mainClass, Path archivePath, com.pervasive.datarush.cluster.preferences.ClusterPreferences clusterPreferences) Create a container context.- Parameters:
targetPlatform- build context for this platformclasspathSpec- classpath specifierjobName- job namejobType- job typemainClass- main class to start uparchivePath- path to lib archive- Returns:
- a container context specific to the job
-