apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yogi Devendra (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (APEXMALHAR-2224) GenericFileOutputOperator rotateCall fails if no data is written to the file
Date Wed, 07 Sep 2016 08:59:20 GMT

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

Yogi Devendra edited comment on APEXMALHAR-2224 at 9/7/16 8:59 AM:
-------------------------------------------------------------------

One possible solution could be:
check for currentPartTupleCount in GenericFileOutputOperator.rotateCall(). If it is zero then
return without rotating.


was (Author: devendra):
One possible solution could be:
check for currentPartTupleCount in GenericFileOutputOperator.rotateCall. If it is zero then
return without rotating.

> GenericFileOutputOperator rotateCall fails if no data is written to the file
> ----------------------------------------------------------------------------
>
>                 Key: APEXMALHAR-2224
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2224
>             Project: Apache Apex Malhar
>          Issue Type: Bug
>            Reporter: Yogi Devendra
>            Assignee: Velineni Lakshmi Prasanna
>            Priority: Minor
>
> In GenericFileOutputOperator operator, if no data is written to the file; .tmp file does
not get created on HDFS. 
> An attempt to rotate non-existent file leads to NPE. 



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

Mime
View raw message