.setIsSession(true).setLocalResources(commonLocalResources) .setCredentials(llapCredentials).setServicePluginDescriptor(servicePluginsDescriptor) .build();
/** * Create a new TezClientBuilder. This can be used to setup additional parameters * like session mode, local resources, credentials, servicePlugins, etc. * <p/> * If session mode is not specified in the builder, this will be inferred from * the provided TezConfiguration. * * @param name Name of the client. Used for logging etc. This will also be used * as app master name is session mode * @param tezConf Configuration for the framework * @return An instance of {@link org.apache.tez.client.TezClient.TezClientBuilder} * which can be used to construct the final TezClient. */ public static TezClientBuilder newBuilder(String name, TezConfiguration tezConf) { return new TezClientBuilder(name, tezConf); }
.setIsSession(true).setLocalResources(commonLocalResources) .setCredentials(llapCredentials).setServicePluginDescriptor(servicePluginsDescriptor) .build();