/** * Executes the remote job. * * <p>Note: This method exposes stream graph internal in the public API, but cannot be removed for backward compatibility. * @param streamGraph * Stream Graph to execute * @param jarFiles * List of jar file URLs to ship to the cluster * @return The result of the job execution, containing elapsed time and accumulators. */ @Deprecated protected JobExecutionResult executeRemotely(StreamGraph streamGraph, List<URL> jarFiles) throws ProgramInvocationException { return executeRemotely(streamGraph, this.getClass().getClassLoader(), getConfig(), jarFiles, host, port, clientConfiguration, globalClasspaths, savepointRestoreSettings); }
try { client = new StandaloneClusterClient(configuration); client.setPrintStatusDuringExecution(getConfig().isSysoutLoggingEnabled());
client.setPrintStatusDuringExecution(getConfig().isSysoutLoggingEnabled());
client.setPrintStatusDuringExecution(getConfig().isSysoutLoggingEnabled());