apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amberarrow <...@git.apache.org>
Subject [GitHub] incubator-apex-malhar pull request: APEXMALHAR-2077 AbstractSingle...
Date Fri, 13 May 2016 14:40:29 GMT
Github user amberarrow commented on a diff in the pull request:

    --- 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 --
    Since partitionedFileName is assigned in setup() there is no need to do it here; in fact,
since these setters are typically called before the operator is serialized, physicalPartitionId
will always be 0 here.

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.

View raw message