You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Owen O'Malley (Jira)" <ji...@apache.org> on 2019/10/08 23:00:00 UTC

[jira] [Resolved] (ORC-361) org.apache.orc.impl.MemoryManagerImpl : Owner thread expected Thread[main,5,main], got Thread[pool-15-thread-1,5,main]

     [ https://issues.apache.org/jira/browse/ORC-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley resolved ORC-361.
-------------------------------
    Fix Version/s: 1.7.0
                   1.6.1
                   1.5.7
         Assignee: Owen O'Malley
       Resolution: Fixed

>  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
>            Assignee: Owen O'Malley
>            Priority: Major
>             Fix For: 1.5.7, 1.6.1, 1.7.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)