orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wxmimperio (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ORC-361) org.apache.orc.impl.MemoryManagerImpl : Owner thread expected Thread[main,5,main], got Thread[pool-15-thread-1,5,main]
Date Wed, 09 May 2018 04:07:00 GMT
wxmimperio created ORC-361:
------------------------------

             Summary:  org.apache.orc.impl.MemoryManagerImpl    : Owner thread expected Thread[main,5,main],
got Thread[pool-15-thread-1,5,main]
                 Key: ORC-361
                 URL: https://issues.apache.org/jira/browse/ORC-361
             Project: ORC
          Issue Type: Bug
          Components: Java
    Affects Versions: 1.4.3
            Reporter: wxmimperio


When I use java api to write data to orc file,like this :

{color:#FF0000} org.apache.orc.impl.MemoryManagerImpl : Owner thread expected Thread[main,5,main],
got Thread[pool-15-thread-1,5,main]{color}

I have one  OrcFile.createWriter,but use multi-threaded to writer.addRowBatch(batch); 
 I see the code, notice MemoryManagerImpl is not thread safe


 {color:#59afe1}so,How I can write orc file by multi-threaded?{color}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message