[
https://issues.apache.org/jira/browse/HADOOP-11125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haohui Mai updated HADOOP-11125:
--------------------------------
Resolution: Fixed
Fix Version/s: 2.7.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
I've committed the patch to trunk and branch-2. Thanks [~ooyamams] for the
contribution.
> Remove redundant tests in TestOsSecureRandom
> --------------------------------------------
>
> Key: HADOOP-11125
> URL: https://issues.apache.org/jira/browse/HADOOP-11125
> Project: Hadoop Common
> Issue Type: Test
> Reporter: Ted Yu
> Assignee: Masanori Oyama
> Labels: newbie
> Fix For: 2.7.0
>
> Attachments: HADOOP-11125-1.patch
>
>
> From https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1897/console :
> {code}
> Running org.apache.hadoop.crypto.random.TestOsSecureRandom
> Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 120.516 sec
> <<< FAILURE! - in org.apache.hadoop.crypto.random.TestOsSecureRandom
> testOsSecureRandomSetConf(org.apache.hadoop.crypto.random.TestOsSecureRandom)
> Time elapsed: 120.013 sec <<< ERROR!
> java.lang.Exception: test timed out after 120000 milliseconds
> at java.io.FileInputStream.readBytes(Native Method)
> at java.io.FileInputStream.read(FileInputStream.java:220)
> at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
> at java.io.InputStreamReader.read(InputStreamReader.java:167)
> at java.io.BufferedReader.fill(BufferedReader.java:136)
> at java.io.BufferedReader.read1(BufferedReader.java:187)
> at java.io.BufferedReader.read(BufferedReader.java:261)
> at
> org.apache.hadoop.util.Shell$ShellCommandExecutor.parseExecResult(Shell.java:715)
> at org.apache.hadoop.util.Shell.runCommand(Shell.java:524)
> at org.apache.hadoop.util.Shell.run(Shell.java:455)
> at
> org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:702)
> at
> org.apache.hadoop.crypto.random.TestOsSecureRandom.testOsSecureRandomSetConf(TestOsSecureRandom.java:149)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)