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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to