You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/04/06 07:07:23 UTC

[GitHub] [flink-table-store] tsreaper opened a new pull request, #74: [FLINK-27070] Reuse FileFormat instead of DecodingFormat/EncodingFormat to ensure thread safety

tsreaper opened a new pull request, #74:
URL: https://github.com/apache/flink-table-store/pull/74

   When testing table store I'm faced with the following warning messages:
   
   ```
   org.apache.org.impl.MemoryManagerImpl [] - Owner thread expected Thread[Writer -> Local Committer (1/16)#0,5,Flink Task Threads], got Thread[pool-8-thread-1,5,Flink Task Threads]
   ```
   
   This is because `OrcBulkWriterFactory` is not thread safe (it keeps `WriterOptions` as a class member and creates writers from the same `WriterOptions` object, which is not thread safe).
   
   What we should do is to reuse `FileFormat` instead of `DecodingFormat`/`EncodingFormat` to ensure thread safety.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink-table-store] JingsongLi merged pull request #74: [FLINK-27070] Reuse FileFormat instead of DecodingFormat/EncodingFormat to ensure thread safety

Posted by GitBox <gi...@apache.org>.
JingsongLi merged PR #74:
URL: https://github.com/apache/flink-table-store/pull/74


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org