[ 
https://issues.apache.org/jira/browse/FLINK-29345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17610476#comment-17610476
 ] 

Jingsong Lee commented on FLINK-29345:
--------------------------------------

The orc writer has memory management and needs to be initialized in the writing 
thread to avoid thread safety conflicts caused by memory management.

We should revert this PR.

> Too many open files in table store orc writer
> ---------------------------------------------
>
>                 Key: FLINK-29345
>                 URL: https://issues.apache.org/jira/browse/FLINK-29345
>             Project: Flink
>          Issue Type: Bug
>          Components: Table Store
>            Reporter: Jingsong Lee
>            Assignee: Shammon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: table-store-0.3.0, table-store-0.2.1
>
>         Attachments: image-2022-09-20-11-57-11-373.png
>
>
>  !image-2022-09-20-11-57-11-373.png! 
> We can avoid reading the local file to obtain the config every time we create 
> a new writer by reusing the prepared configuration.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to