[
https://issues.apache.org/jira/browse/HDFS-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886504#action_12886504
]
Todd Lipcon commented on HDFS-1286:
---
In both cases it looks like a lack of entropy on the build box caused the first
test to time out:
{code}
java.lang.Exception: test timed out after 6 milliseconds
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:199)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at
sun.security.provider.SeedGenerator$URLSeedGenerator.getSeedByte(SeedGenerator.java:453)
{code}
The TFA4 tests use a lot of random bytes, and apparently the entropy pool is a
bit low on the hudson box.
We use this trick on our build boxes here:
http://www.chrissearle.org/blog/technical/increase_entropy_26_kernel_linux_box
Can someone with access to the Hudson box get this set up?
> TestFileAppend4 sometimes failed with "already locked storage"
> --
>
> Key: HDFS-1286
> URL: https://issues.apache.org/jira/browse/HDFS-1286
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
>Affects Versions: 0.22.0
>Reporter: Todd Lipcon
> Fix For: 0.22.0
>
> Attachments: TestFileAppend4.testCompleteOtherLeaseHoldersFile.log,
> TestFileAppend4.testRecoverFinalizedBlock.log
>
>
> Some test runs seem to fail with "already locked" errors, though it passes
> locally. For example:
> http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/423/testReport/
> http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/421/testReport/
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.