You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2016/11/16 14:28:59 UTC

[jira] [Resolved] (STORM-2198) perform RotationAction when stopping HdfsBolt

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

Jungtaek Lim resolved STORM-2198.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.3
                   1.1.0
                   2.0.0

Thanks [~vesense], I merged into master, 1.x, 1.0.x branches.

> perform RotationAction when stopping HdfsBolt
> ---------------------------------------------
>
>                 Key: STORM-2198
>                 URL: https://issues.apache.org/jira/browse/STORM-2198
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-hdfs
>    Affects Versions: 1.0.0, 0.9.6, 1.0.1, 1.0.2
>            Reporter: Xin Wang
>            Assignee: Xin Wang
>             Fix For: 2.0.0, 1.1.0, 1.0.3
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> I have a _HdfsBolt_ with _TimedRotationPolicy_ and _MoveFileAction_. I found the bolt didn't move files when I stopped the HdfsBolt, then _RotationPolicy_ was not triggered, 
> Look at the code, the _rotateOutputFile_ method just be called when _RotationPolicy_ is triggered or _writer.needsRotation_. I will add some logic in _cleanup_ method.



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