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

Owen O'Malley resolved ORC-248.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

> The new padStream method can throw a NegativeArraySizeException.
> ----------------------------------------------------------------
>
>                 Key: ORC-248
>                 URL: https://issues.apache.org/jira/browse/ORC-248
>             Project: ORC
>          Issue Type: Bug
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> {code:java}
> Exception in thread "main" java.lang.NegativeArraySizeException
>         at 
> org.apache.orc.impl.HadoopShimsPre2_3.padStream(HadoopShimsPre2_3.java:51)
>         at 
> org.apache.orc.impl.HadoopShimsCurrent.padStreamToBlock(HadoopShimsCurrent.java:52)
>         at 
> org.apache.orc.impl.PhysicalFsWriter.padStripe(PhysicalFsWriter.java:140)
>         at 
> org.apache.orc.impl.PhysicalFsWriter.finalizeStripe(PhysicalFsWriter.java:341)
>         at org.apache.orc.impl.WriterImpl.flushStripe(WriterImpl.java:438)
>         at org.apache.orc.impl.WriterImpl.checkMemory(WriterImpl.java:262)
>         at 
> org.apache.orc.impl.MemoryManagerImpl.notifyWriters(MemoryManagerImpl.java:190)
>         at 
> org.apache.orc.impl.MemoryManagerImpl.addedRow(MemoryManagerImpl.java:178)
>         at org.apache.orc.impl.WriterImpl.addRowBatch(WriterImpl.java:539)
>         at 
> org.apache.orc.bench.convert.orc.OrcWriter.writeBatch(OrcWriter.java:48)
>         at 
> org.apache.orc.bench.convert.GenerateVariants.main(GenerateVariants.java:211)
>         at org.apache.orc.bench.Driver.main(Driver.java:62)
> {code}



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

Reply via email to