Lakshmi Manasa Gaduputi created SAMZA-2556:
----------------------------------------------

             Summary: AzureBlob SystemProducer: Fix NPE thrown during flush due 
to previous exception
                 Key: SAMZA-2556
                 URL: https://issues.apache.org/jira/browse/SAMZA-2556
             Project: Samza
          Issue Type: Bug
            Reporter: Lakshmi Manasa Gaduputi
            Assignee: Lakshmi Manasa Gaduputi


Issue: possibility of NPE during AzureBlobSystemProducer.flush 

Scenario for NPE: First message passed into AzureBlobAvroWriter is a bad record 
without schema then the avro objects are not created due to 
IllegalStateException. However, if the user of the system producer still 
invokes a flush (either directly or through stop), NPE is thrown as flush of 
producer invokes flush of the writer which inturn accesses the non-existent 
avro objects.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to