Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-1131

ChannelProcessor does not handle transactions appropriately

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.1.0
    • None
    • None
    • None

    Description

      If an Exception is thrown in ChannelProcessor.processEvent whilst getting an exception, tx will be null and when rollback is called on tx, an NPE will be thrown.

      12/04/18 19:03:17 ERROR source.PollableSourceRunner: Unhandled exception, logging and sleeping for 5000ms
      java.lang.NullPointerException
      	at org.apache.flume.channel.ChannelProcessor.processEvent(ChannelProcessor.java:183)
      	at org.apache.flume.source.SequenceGeneratorSource.process(SequenceGeneratorSource.java:48)
      	at org.apache.flume.source.PollableSourceRunner$PollingRunner.run(PollableSourceRunner.java:131)
      	at java.lang.Thread.run(Thread.java:662)
      

      Attachments

        1. FLUME-1131-1.patch
          10 kB
          Brock Noland
        2. FLUME-1131-0.patch
          10 kB
          Brock Noland

        Issue Links

          Activity

            People

              brocknoland Brock Noland
              brocknoland Brock Noland
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: