You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Brandon Li (JIRA)" <ji...@apache.org> on 2013/01/05 04:58:13 UTC

[jira] [Commented] (MAPREDUCE-4914) TestMiniMRDFSSort fails with openJDK7

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13544565#comment-13544565 ] 

Brandon Li commented on MAPREDUCE-4914:
---------------------------------------

This is a test order-dependency issue. When jvm reuse test invokes before sort test, the sort directory is not created and thus test fails.
                
> TestMiniMRDFSSort fails with openJDK7
> -------------------------------------
>
>                 Key: MAPREDUCE-4914
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4914
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1-win
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>         Attachments: MAPREDUCE-4914.patch
>
>
> This is a test order-dependency issue. When jvm reuse test invokes before sort test, the sort directory is not created and thus test fails.
> {noformat}
> Testcase: testJvmReuse took 0.063 sec
>         Caused an ERROR
> Input path does not exist: hdfs://127.0.0.1:62473/sort/input
> org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: hdfs://127.0.0.1:62473/sort/input
>         at org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:197)
>         at org.apache.hadoop.mapred.SequenceFileInputFormat.listStatus(SequenceFileInputFormat.java:40)
>         at org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:208)
>         at org.apache.hadoop.mapred.JobClient.writeOldSplits(JobClient.java:989)
>         at org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:981)
>         at org.apache.hadoop.mapred.JobClient.access$600(JobClient.java:174)
>         at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:897)
>         at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:850)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:415)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1135)
>         at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:850)
>         at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:824)
>         at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1261)
>         at org.apache.hadoop.mapred.TestMiniMRDFSSort.runJvmReuseTest(TestMiniMRDFSSort.java:150)
>         at org.apache.hadoop.mapred.TestMiniMRDFSSort.testJvmReuse(TestMiniMRDFSSort.java:173)
>         at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>         at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>         at junit.extensions.TestSetup.run(TestSetup.java:27)
> Testcase: testMapReduceSort took 168.874 sec
> Testcase: testNoJvmReuse took 88.628 sec{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira