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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.3
    • 1.5.7, 1.6.1, 1.7.0
    • Java
    • 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

              omalley Owen O'Malley
              wxmimperio wxmimperio
              Votes:
              3 Vote for this issue
              Watchers:
              3 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