You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Shoeb (JIRA)" <ji...@apache.org> on 2017/09/19 20:57:00 UTC

[jira] [Created] (STORM-2746) Max Open Files does not close files for the oldest entry

Shoeb created STORM-2746:
----------------------------

             Summary: Max Open Files does not close files for the oldest entry
                 Key: STORM-2746
                 URL: https://issues.apache.org/jira/browse/STORM-2746
             Project: Apache Storm
          Issue Type: Bug
    Affects Versions: 2.0.0, 1.x
            Reporter: Shoeb
            Priority: Minor


Description:

AbstractHDFSBolt has WritersMap. This evicts least recently used AbstractHDFSWriter out of the writers map, however, does not close the file in open state by the oldest entry.

Steps to reproduce  error: 

1) Use new Max open files feature and set the value to 1.
2) Write data to two or three different files in hdfs using AvroBolt.
3) Check output directory using fsck in hdfs.
   
Expected: only one file open in output directory.
Actual: > 1 files are in open state.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)