Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-361

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.3
    • Fix Version/s: 1.5.7, 1.6.1, 1.7.0
    • Component/s: Java
    • Labels:
      None

      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

            Activity

              People

              • Assignee:
                omalley Owen O'Malley
                Reporter:
                wxmimperio wxmimperio
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m