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

perform RotationAction when stopping HdfsBolt

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 0.9.6, 1.0.1, 1.0.2
    • Fix Version/s: 2.0.0, 1.1.0, 1.0.3
    • Component/s: storm-hdfs
    • Labels:
      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

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