Rajesh Balamohan created TEZ-1994:
-------------------------------------
Summary: Flaky test - TestSimpleFetchedInputAllocator
Key: TEZ-1994
URL: https://issues.apache.org/jira/browse/TEZ-1994
Project: Apache Tez
Issue Type: Bug
Reporter: Rajesh Balamohan
While running unit tests of tez-6.0, I got the following error in linux machine.
{code}
testInMemAllocation(org.apache.tez.runtime.library.common.shuffle.impl.TestSimpleFetchedInputAllocator)
Time elapsed: 0.465 sec <<< ERROR!
java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Random.java:388)
at
org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.confChanged(LocalDirAllocator.java:305)
at
org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(LocalDirAllocator.java:344)
at
org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:150)
at
org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:131)
at
org.apache.tez.runtime.library.common.task.local.output.TezTaskOutputFiles.getInputFileForWrite(TezTaskOutputFiles.java:309)
at
org.apache.tez.runtime.library.common.shuffle.DiskFetchedInput.<init>(DiskFetchedInput.java:52)
at
org.apache.tez.runtime.library.common.shuffle.impl.SimpleFetchedInputAllocator.allocate(SimpleFetchedInputAllocator.java:133)
at
org.apache.tez.runtime.library.common.shuffle.impl.TestSimpleFetchedInputAllocator.testInMemAllocation(TestSimpleFetchedInputAllocator.java:71)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)