Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-9681

[Java] Failed Arrow Memory - Core on big-endian platform

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Java

    Description

      The following two errors occur on a big-endian platform.

      % mvn -B -Drat.skip=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dflatc.download.skip=true -rf :arrow-memory-core test
      ...
      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [INFO] Running org.apache.arrow.memory.TestBoundaryChecking
      [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.apache.arrow.memory.TestBoundaryChecking
      [INFO] Running org.apache.arrow.memory.TestAllocationManager
      [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 s - in org.apache.arrow.memory.TestAllocationManager
      [INFO] Running org.apache.arrow.memory.TestArrowBuf
      13:50:53.066 [main] INFO org.apache.arrow.memory.BaseAllocator - Debug mode enabled.
      13:50:53.068 [main] INFO org.apache.arrow.memory.DefaultAllocationManagerOption - allocation manager type not specified, using netty as the default type
      13:50:53.069 [main] INFO org.apache.arrow.memory.CheckAllocator - Using DefaultAllocationManager at memory/memory-core/target/test-classes/org/apache/arrow/memory/DefaultAllocationManagerFactory.class
      13:50:53.071 [main] DEBUG org.apache.arrow.memory.util.MemoryUtil - Constructor for direct buffer found and made accessible
      13:50:53.071 [main] DEBUG org.apache.arrow.memory.util.MemoryUtil - direct buffer constructor: available
      13:50:53.073 [main] DEBUG org.apache.arrow.memory.rounding.DefaultRoundingPolicy - -Dorg.apache.memory.allocator.pageSize: 8192
      13:50:53.073 [main] DEBUG org.apache.arrow.memory.rounding.DefaultRoundingPolicy - -Dorg.apache.memory.allocator.maxOrder: 11
      13:50:53.075 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      13:50:53.076 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      13:50:53.077 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      13:50:53.082 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      13:50:53.083 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      [ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.017 s <<< FAILURE! - in org.apache.arrow.memory.TestArrowBuf
      [ERROR] testSetBytesBigEndian  Time elapsed: 0.004 s  <<< FAILURE!
      org.junit.internal.ArrayComparisonFailure: arrays first differed at element [0]; expected:<0> but was:<7>
      	at org.apache.arrow.memory.TestArrowBuf.testSetBytesBigEndian(TestArrowBuf.java:145)
      Caused by: java.lang.AssertionError: expected:<0> but was:<7>
      	at org.apache.arrow.memory.TestArrowBuf.testSetBytesBigEndian(TestArrowBuf.java:145)
      
      [INFO] Running org.apache.arrow.memory.TestLowCostIdentityHashMap
      [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.apache.arrow.memory.TestLowCostIdentityHashMap
      [INFO] Running org.apache.arrow.memory.TestAccountant
      [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 s - in org.apache.arrow.memory.TestAccountant
      [INFO] Running org.apache.arrow.memory.util.TestArrowBufPointer
      13:50:53.133 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      13:50:53.134 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      13:50:53.135 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      13:50:53.136 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      13:50:53.136 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      13:50:53.138 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.apache.arrow.memory.util.TestArrowBufPointer
      [INFO] Running org.apache.arrow.memory.util.hash.TestArrowBufHasher
      13:50:53.139 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      13:50:53.141 [main] DEBUG org.apache.arrow.memory.ArrowBuf - event log for: ArrowBuf[21]
        5531898924530725 create()
          at org.apache.arrow.memory.util.StackTrace.<init>(StackTrace.java:34)
          at org.apache.arrow.memory.util.HistoricalLog$Event.<init>(HistoricalLog.java:175)
          at org.apache.arrow.memory.util.HistoricalLog.recordEvent(HistoricalLog.java:83)
          at org.apache.arrow.memory.ArrowBuf.<init>(ArrowBuf.java:96)
          at org.apache.arrow.memory.BufferLedger.newArrowBuf(BufferLedger.java:271)
          at org.apache.arrow.memory.BaseAllocator.bufferWithoutReservation(BaseAllocator.java:299)
          at org.apache.arrow.memory.BaseAllocator.buffer(BaseAllocator.java:275)
          at org.apache.arrow.memory.RootAllocator.buffer(RootAllocator.java:29)
          at org.apache.arrow.memory.BaseAllocator.buffer(BaseAllocator.java:239)
          at org.apache.arrow.memory.RootAllocator.buffer(RootAllocator.java:29)
          at org.apache.arrow.memory.util.hash.TestArrowBufHasher.testHasherNegative(TestArrowBufHasher.java:93)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:566)
          at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
          at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
          at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
          at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
          at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
          at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
          at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
          at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
          at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
          at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
          at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
          at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
          at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
          at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
          at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
          at org.junit.runners.Suite.runChild(Suite.java:128)
          at org.junit.runners.Suite.runChild(Suite.java:27)
          at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
          at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
          at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
          at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
          at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
          at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
          at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
          at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
          at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:40)
          at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
          at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
          at java.util.Iterator.forEachRemaining(Iterator.java:133)
          at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
          at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
          at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
          at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
          at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
          at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
          at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
          at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80)
          at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:71)
          at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:229)
          at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:197)
          at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:211)
          at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:191)
          at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
          at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
          at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:116)
          at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
          at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
          at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      
      13:50:53.141 [main] DEBUG org.apache.arrow.memory.ArrowBuf - event log for: ArrowBuf[21]
        5531898924530725 create()
          at org.apache.arrow.memory.util.StackTrace.<init>(StackTrace.java:34)
          at org.apache.arrow.memory.util.HistoricalLog$Event.<init>(HistoricalLog.java:175)
          at org.apache.arrow.memory.util.HistoricalLog.recordEvent(HistoricalLog.java:83)
          at org.apache.arrow.memory.ArrowBuf.<init>(ArrowBuf.java:96)
          at org.apache.arrow.memory.BufferLedger.newArrowBuf(BufferLedger.java:271)
          at org.apache.arrow.memory.BaseAllocator.bufferWithoutReservation(BaseAllocator.java:299)
          at org.apache.arrow.memory.BaseAllocator.buffer(BaseAllocator.java:275)
          at org.apache.arrow.memory.RootAllocator.buffer(RootAllocator.java:29)
          at org.apache.arrow.memory.BaseAllocator.buffer(BaseAllocator.java:239)
          at org.apache.arrow.memory.RootAllocator.buffer(RootAllocator.java:29)
          at org.apache.arrow.memory.util.hash.TestArrowBufHasher.testHasherNegative(TestArrowBufHasher.java:93)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:566)
          at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
          at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
          at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
          at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
          at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
          at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
          at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
          at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
          at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
          at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
          at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
          at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
          at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
          at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
          at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
          at org.junit.runners.Suite.runChild(Suite.java:128)
          at org.junit.runners.Suite.runChild(Suite.java:27)
          at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
          at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
          at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
          at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
          at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
          at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
          at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
          at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
          at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:40)
          at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
          at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
          at java.util.Iterator.forEachRemaining(Iterator.java:133)
          at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
          at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
          at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
          at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
          at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
          at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
          at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
          at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80)
          at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:71)
          at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:229)
          at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:197)
          at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:211)
          at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:191)
          at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
          at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
          at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:116)
          at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
          at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
          at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      
      13:50:53.142 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      13:50:53.143 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      13:50:53.143 [main] DEBUG org.apache.arrow.memory.ArrowBuf - event log for: ArrowBuf[24]
        5531898927500771 create()
          at org.apache.arrow.memory.util.StackTrace.<init>(StackTrace.java:34)
          at org.apache.arrow.memory.util.HistoricalLog$Event.<init>(HistoricalLog.java:175)
          at org.apache.arrow.memory.util.HistoricalLog.recordEvent(HistoricalLog.java:83)
          at org.apache.arrow.memory.ArrowBuf.<init>(ArrowBuf.java:96)
          at org.apache.arrow.memory.BufferLedger.newArrowBuf(BufferLedger.java:271)
          at org.apache.arrow.memory.BaseAllocator.bufferWithoutReservation(BaseAllocator.java:299)
          at org.apache.arrow.memory.BaseAllocator.buffer(BaseAllocator.java:275)
          at org.apache.arrow.memory.RootAllocator.buffer(RootAllocator.java:29)
          at org.apache.arrow.memory.BaseAllocator.buffer(BaseAllocator.java:239)
          at org.apache.arrow.memory.RootAllocator.buffer(RootAllocator.java:29)
          at org.apache.arrow.memory.util.hash.TestArrowBufHasher.testHasherNegative(TestArrowBufHasher.java:93)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:566)
          at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
          at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
          at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
          at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
          at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
          at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
          at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
          at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
          at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
          at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
          at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
          at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
          at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
          at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
          at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
          at org.junit.runners.Suite.runChild(Suite.java:128)
          at org.junit.runners.Suite.runChild(Suite.java:27)
          at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
          at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
          at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
          at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
          at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
          at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
          at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
          at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
          at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:40)
          at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
          at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
          at java.util.Iterator.forEachRemaining(Iterator.java:133)
          at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
          at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
          at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
          at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
          at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
          at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
          at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
          at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80)
          at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:71)
          at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:229)
          at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:197)
          at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:211)
          at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:191)
          at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
          at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
          at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:116)
          at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
          at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
          at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      
      13:50:53.143 [main] DEBUG org.apache.arrow.memory.ArrowBuf - event log for: ArrowBuf[24]
        5531898927500771 create()
          at org.apache.arrow.memory.util.StackTrace.<init>(StackTrace.java:34)
          at org.apache.arrow.memory.util.HistoricalLog$Event.<init>(HistoricalLog.java:175)
          at org.apache.arrow.memory.util.HistoricalLog.recordEvent(HistoricalLog.java:83)
          at org.apache.arrow.memory.ArrowBuf.<init>(ArrowBuf.java:96)
          at org.apache.arrow.memory.BufferLedger.newArrowBuf(BufferLedger.java:271)
          at org.apache.arrow.memory.BaseAllocator.bufferWithoutReservation(BaseAllocator.java:299)
          at org.apache.arrow.memory.BaseAllocator.buffer(BaseAllocator.java:275)
          at org.apache.arrow.memory.RootAllocator.buffer(RootAllocator.java:29)
          at org.apache.arrow.memory.BaseAllocator.buffer(BaseAllocator.java:239)
          at org.apache.arrow.memory.RootAllocator.buffer(RootAllocator.java:29)
          at org.apache.arrow.memory.util.hash.TestArrowBufHasher.testHasherNegative(TestArrowBufHasher.java:93)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:566)
          at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
          at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
          at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
          at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
          at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
          at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
          at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
          at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
          at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
          at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
          at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
          at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
          at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
          at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
          at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
          at org.junit.runners.Suite.runChild(Suite.java:128)
          at org.junit.runners.Suite.runChild(Suite.java:27)
          at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
          at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
          at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
          at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
          at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
          at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
          at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
          at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
          at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:40)
          at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
          at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
          at java.util.Iterator.forEachRemaining(Iterator.java:133)
          at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
          at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
          at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
          at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
          at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
          at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
          at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
          at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80)
          at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:71)
          at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:229)
          at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:197)
          at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:211)
          at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:191)
          at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
          at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
          at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:116)
          at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
          at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
          at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      
      13:50:53.144 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.apache.arrow.memory.util.hash.TestArrowBufHasher
      [INFO] Running org.apache.arrow.memory.util.TestByteFunctionHelpers
      13:50:53.147 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      13:50:53.148 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      13:50:53.149 [main] DEBUG org.apache.arrow.memory.BaseAllocator - closed allocator[ROOT].
      [ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.003 s <<< FAILURE! - in org.apache.arrow.memory.util.TestByteFunctionHelpers
      [ERROR] testStringCompare  Time elapsed: 0.001 s  <<< FAILURE!
      org.opentest4j.MultipleFailuresError: 
      Multiple Failures (2 failures)
      	expected:<-1> but was:<1>
      	Allocator[ROOT] closed with outstanding buffers allocated (2).
      Allocator(ROOT) 0/256/256/9223372036854775807 (res/actual/peak/limit)
        child allocators: 0
        ledgers: 2
          ledger[25] allocator: ROOT), isOwning: , size: , references: 1, life: 5531898929901867..0, allocatorManager: [, life: ] holds 1 buffers. 
              ArrowBuf[28], address:4396448341232, length:128
          ledger[24] allocator: ROOT), isOwning: , size: , references: 1, life: 5531898929744766..0, allocatorManager: [, life: ] holds 1 buffers. 
              ArrowBuf[27], address:4396448206336, length:128
        reservations: 0
      
      
      [INFO] 
      [INFO] Results:
      [INFO] 
      [ERROR] Failures: 
      [ERROR]   TestArrowBuf.testSetBytesBigEndian:145 arrays first differed at element [0]; expected:<0> but was:<7>
      [ERROR]   TestByteFunctionHelpers.testStringCompare Multiple Failures (2 failures)
      	expected:<-1> but was:<1>
      	Allocator[ROOT] closed with outstanding buffers allocated (2).
      Allocator(ROOT) 0/256/256/9223372036854775807 (res/actual/peak/limit)
        child allocators: 0
        ledgers: 2
          ledger[25] allocator: ROOT), isOwning: , size: , references: 1, life: 5531898929901867..0, allocatorManager: [, life: ] holds 1 buffers. 
              ArrowBuf[28], address:4396448341232, length:128
          ledger[24] allocator: ROOT), isOwning: , size: , references: 1, life: 5531898929744766..0, allocatorManager: [, life: ] holds 1 buffers. 
              ArrowBuf[27], address:4396448206336, length:128
        reservations: 0
      
      [INFO] 
      [ERROR] Tests run: 31, Failures: 2, Errors: 0, Skipped: 0
      
      

      Attachments

        Issue Links

          Activity

            People

              kiszk Kazuaki Ishizaki
              kiszk Kazuaki Ishizaki
              Votes:
              0 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 - 1.5h
                  1.5h