Module datarush.hadoop.core
Class ContainerContextBuilder
- java.lang.Object
-
- com.actian.dataflow.cal.yarn.shared.ContainerContextBuilder
-
public class ContainerContextBuilder extends Object
Build a container context based on the contents of the classpath specifier.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
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
-
-