nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-1824) FileSystemRepository can leave open file handles to data that has been archived and/or deleted
Date Tue, 03 May 2016 18:31:12 GMT

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

ASF subversion and git services commented on NIFI-1824:
-------------------------------------------------------

Commit e3bdee8b1ea27d3fe4f525f87912de74d1f6b68d in nifi's branch refs/heads/master from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=e3bdee8 ]

NIFI-1824: If attempting to archive content, and there are no claimant counts for it, ensure
that the stream is closed.


> FileSystemRepository can leave open file handles to data that has been archived and/or
deleted
> ----------------------------------------------------------------------------------------------
>
>                 Key: NIFI-1824
>                 URL: https://issues.apache.org/jira/browse/NIFI-1824
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>             Fix For: 1.0.0, 0.7.0
>
>
> There appears to be an issue such that if ProcessSession.write() is called with a StreamCallback
and there is an issue reading or writing content, the ProcessSession will decrement the claim
count for the content without ever writing to it. In this case, the File System Repository
will still hold open a FileOutputStream but will never have a chance to close it. This can
be discovered by running:
> {code}
> lsof -p <nifi pid> | grep archive
> {code}



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

Mime
View raw message