Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-1546

Returning an empty array list at parse time causes tuple to be considered as uncommitted and stall the parser topology

    XMLWordPrintableJSON

Details

    • Bug
    • Status: To Do
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      It appears if (for any reason) an empty List is returned in parser sub-classes (any sub-class of BasicParser) the corresponding tuple won't be committed. Hence, Storm retries it based on the retry strategy which won't be required for this situation. Also, if we hit the "spout.maxUncommittedOffsets" parser topology stalls and it needs to be restarted! 

      This issue can be reproduced by using a very small value for "spout.maxUncommittedOffsets".

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            ali.nazemian Ali Nazemian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: