MINCWANG opened a new pull request #319: java.lang.IllegalStateException: begin() called when transaction is COMPLETED! URL: https://github.com/apache/flume/pull/319 In the official website's documentation, custom sink code will cause java.lang.IllegalStateException: begin () called when transaction is COMPLETED! [http://flume.apache.org/releases/content/1.9.0/FlumeDeveloperGuide.html#sink](http://flume.apache.org/releases/content/1.9.0/FlumeDeveloperGuide.html#sink) ``` finally { if (txn != null) { txn.close(); } } ``` Add the above code to the top link to solve the problem.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services