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 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 platform
      classpathSpec - classpath specifier
      jobName - job name
      jobType - job type
      mainClass - main class to start up
      archivePath - path to lib archive
      Returns:
      a container context specific to the job