[
https://issues.apache.org/jira/browse/APEXCORE-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15366569#comment-15366569
]
ASF GitHub Bot commented on APEXCORE-405:
-----------------------------------------
Github user gauravgopi123 commented on a diff in the pull request:
https://github.com/apache/apex-core/pull/351#discussion_r69962030
--- Diff: api/src/main/java/com/datatorrent/api/LocalMode.java ---
@@ -18,34 +18,46 @@
*/
package com.datatorrent.api;
-import java.util.Iterator;
-import java.util.ServiceLoader;
-
import org.apache.hadoop.conf.Configuration;
+import com.datatorrent.netlet.util.DTThrowable;
+
/**
* Local mode execution for single application
*
* @since 0.3.2
*/
-public abstract class LocalMode
+public abstract class LocalMode<H extends Launcher.AppHandle> extends
Launcher<H>
{
+ public static final Attribute<Long> RUN_MILLIS = new
Attribute<Long>((Long)null);
+ public static final Attribute<Boolean> RUN_ASYNC = new
Attribute<Boolean>(false);
--- End diff --
Same comment here as before on attributes
> Provide an API to launch DAG on the cluster
> -------------------------------------------
>
> Key: APEXCORE-405
> URL: https://issues.apache.org/jira/browse/APEXCORE-405
> Project: Apache Apex Core
> Issue Type: Improvement
> Reporter: Pramod Immaneni
> Assignee: Pramod Immaneni
>
> Today API exists to launch a DAG in local mode but such an API is not
> available to launch the app on the cluster, only a CLI tool is available.
> Provide an API to be able to do this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)