Description
When I use java api to write data to orc file,like this :
org.apache.orc.impl.MemoryManagerImpl : Owner thread expected Thread[main,5,main], got Thread[pool-15-thread-1,5,main]
I have one OrcFile.createWriter,but use multi-threaded to writer.addRowBatch(batch);
I see the code, notice MemoryManagerImpl is not thread safe
so,How I can write orc file by multi-threaded?
Attachments
Issue Links
- fixes
-
ORC-653 OrcFile#getStaticMemoryManager caches initial configuration and leaks classloaders
- Resolved
- links to