apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXCORE-304) Ability to add jars to classpath in populateDAG
Date Mon, 18 Jan 2016 09:31:39 GMT

    [ https://issues.apache.org/jira/browse/APEXCORE-304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15105003#comment-15105003
] 

ASF GitHub Bot commented on APEXCORE-304:
-----------------------------------------

Github user chinmaykolhatkar commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-core/pull/208#discussion_r49976266
  
    --- Diff: engine/src/main/java/com/datatorrent/stram/plan/logical/LogicalPlan.java ---
    @@ -156,6 +156,7 @@
       private transient int nodeIndex = 0; // used for cycle validation
       private transient Stack<OperatorMeta> stack = new Stack<OperatorMeta>();
// used for cycle validation
       private transient Map<String, ArrayListMultimap<OutputPort<?>, InputPort<?>>>
streamLinks = new HashMap<>();
    +  private transient Map<String, Boolean> extraResources = new LinkedHashMap<>();
    --- End diff --
    
    Lets say one has created the jar on the fly and want to delete it to be deleted when the
jar is consumes then one can chose to set true for this.
    If one is using existing jars present in local system and include them on the fly, in
that case user might not want to delete the existing jar.
    
    This gives freedom to user to delete or not the original resource. 


> Ability to add jars to classpath in populateDAG
> -----------------------------------------------
>
>                 Key: APEXCORE-304
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-304
>             Project: Apache Apex Core
>          Issue Type: Improvement
>            Reporter: Chinmay Kolhatkar
>            Assignee: Chinmay Kolhatkar
>
> This will have following functionality:
> 1) In populateDAG one would be allowed to add given local jar path to classpath of the
application.
> 2) Optionally delete the given jar file after copying to HDFS is done.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message