You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/09/26 04:28:04 UTC

[jira] [Updated] (STORM-837) HdfsState ignores commits

     [ https://issues.apache.org/jira/browse/STORM-837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Kellogg updated STORM-837:
-------------------------------
    Component/s: storm-hdfs

> HdfsState ignores commits
> -------------------------
>
>                 Key: STORM-837
>                 URL: https://issues.apache.org/jira/browse/STORM-837
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-hdfs
>            Reporter: Robert Joseph Evans
>            Assignee: Arun Mahadevan
>            Priority: Critical
>             Fix For: 0.11.0
>
>
> HdfsState works with trident which is supposed to provide exactly once processing.  It does this two ways, first by informing the state about commits so it can be sure the data is written out, and second by having a commit id, so that double commits can be handled.
> HdfsState ignores the beginCommit and commit calls, and with that ignores the ids.  This means that if you use HdfsState and your worker crashes you may both lose data and get some data twice.
> At a minimum the flush and file rotation should be tied to the commit in some way.  The commit ID should at a minimum be written out with the data so someone reading the data can have a hope of deduping it themselves.
> Also with the rotationActions it is possible for a file that was partially written is leaked, and never moved to the final location, because it is not rotated.  I personally think the actions are too generic for this case and need to be deprecated.



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