You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Xin Wang (JIRA)" <ji...@apache.org> on 2016/11/11 06:18:58 UTC

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

Xin Wang created STORM-2198:
-------------------------------

             Summary: 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
            Reporter: Xin Wang
            Assignee: Xin Wang


I have a _HdfsBolt_ with _TimedRotationPolicy_ and _MoveFileAction_. I find the bolt don't move file when I stop the HdfsBolt and then _RotationPolicy_ is 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)