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

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

GitHub user tushargosavi opened a pull request:

    https://github.com/apache/incubator-apex-core/pull/191

    APEXCORE-272 copy operator and port attributes from module dag to parent 
dag.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tushargosavi/incubator-apex-core APEXCORE-272

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-apex-core/pull/191.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #191
    
----
commit 0dfe868bd39fdbb36a24c83d6cbda8a201974f77
Author: Tushar R. Gosavi <[email protected]>
Date:   2015-12-23T16:31:50Z

    APEXCORE-272 copy operator and port attributes from module dag to parent 
dag.

----


> Attributes added to operator inside Module is not preserved.
> ------------------------------------------------------------
>
>                 Key: APEXCORE-272
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-272
>             Project: Apache Apex Core
>          Issue Type: Bug
>            Reporter: Tushar Gosavi
>            Assignee: Tushar Gosavi
>
> Attributes added to operator within a Module is not preserved.
> for example
> {code}
> class M implements Module {
>   public void populateDAG(DAG dag, Configuration conf) {
>      DummyOperator o1 = dag.addOperator("O1", new DummyOperator());
>      o1.setOperatorProp(level1ModuleProp);
>      dag.getMeta(o1).getAttributes().put(Context.OperatorContext.MEMORY_MB, 
> 512);
>   }
> {code}
> The above code when module is expanded attribute set on operator o1 is lost.



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

Reply via email to