Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2198

perform RotationAction when stopping HdfsBolt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0, 0.9.6, 1.0.1, 1.0.2
    • 2.0.0, 1.1.0, 1.0.3
    • storm-hdfs
    • 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.

      Attachments

        Activity

          People

            vesense Xin Wang
            vesense Xin Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 40m
                1h 40m