Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.0, 0.9.6, 1.0.1, 1.0.2
-
None
Description
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.