apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yogidevendra <...@git.apache.org>
Subject [GitHub] incubator-apex-malhar pull request: APEXMALHAR-2077 AbstractSingle...
Date Mon, 16 May 2016 06:37:31 GMT
Github user yogidevendra commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-malhar/pull/273#discussion_r63314771
  
    --- Diff: library/src/main/java/com/datatorrent/lib/io/fs/AbstractSingleFileOutputOperator.java
---
    @@ -52,6 +81,7 @@ protected String getFileName(INPUT tuple)
       public void setOutputFileName(String outputFileName)
       {
         this.outputFileName = outputFileName;
    +    partitionedFileName = String.format(partitionedFileNameformat, outputFileName, physicalPartitionId);
    --- End diff --
    
    My assumption was when we set property values for the operators in the running application
using apexcli; then it will only invoke setter method and setup method will not be invoked.

    Hence, I am initializing derived field values in the setter of original property. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message