abstractdog commented on PR #367:
URL: https://github.com/apache/tez/pull/367#issuecomment-2538614009

   > @abstractdog No need to revert 
[TEZ-4542](https://issues.apache.org/jira/browse/TEZ-4542). This PR can be 
understood as a solution to the problem described in 
[TEZ-4542](https://issues.apache.org/jira/browse/TEZ-4542) in another way. From 
another perspective, this PR has actually reverted 
[TEZ-4542](https://issues.apache.org/jira/browse/TEZ-4542).
   > 
   > In my pc, without 
[TEZ-4542](https://issues.apache.org/jira/browse/TEZ-4542) and 
[TEZ-4577](https://issues.apache.org/jira/browse/TEZ-4577), 
`testWithLargeRecordAndLowMemory` will fail, the error log are below:
   > 
   > ```
   > java.lang.IllegalArgumentException: newPosition > limit: (16777216 > 
1048576)
   > 
   >    at java.nio.Buffer.createPositionException(Buffer.java:269)
   >    at java.nio.Buffer.position(Buffer.java:244)
   >    at 
org.apache.tez.runtime.library.common.sort.impl.PipelinedSorter$SortSpan.<init>(PipelinedSorter.java:952)
   >    at 
org.apache.tez.runtime.library.common.sort.impl.PipelinedSorter.sort(PipelinedSorter.java:361)
   >    at 
org.apache.tez.runtime.library.common.sort.impl.PipelinedSorter.collect(PipelinedSorter.java:434)
   >    at 
org.apache.tez.runtime.library.common.sort.impl.PipelinedSorter.write(PipelinedSorter.java:390)
   >    at 
org.apache.tez.runtime.library.common.sort.impl.TestPipelinedSorter.testWithLargeRecordAndLowMemory(TestPipelinedSorter.java:878)
   >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   >    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   >    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   >    at java.lang.reflect.Method.invoke(Method.java:498)
   >    at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
   >    at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
   >    at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
   >    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$3.evaluate(ParentRunner.java:306)
   >    at 
org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
   >    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
   >    at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
   >    at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
   >    at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
   >    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
   >    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
   >    at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
   >    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
   >    at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
   >    at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
   >    at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
   >    at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
   >    at 
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
   >    at 
com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
   >    at 
com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
   >    at 
com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
   >    at 
com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232)
   >    at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
   > ```
   
   okay, thanks for clarifying, in this case, problem is on my side :)
   agree, no matter if we call this revert or not, fixed the overflow issue
   thanks for that!
   
   +1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to