[
https://issues.apache.org/jira/browse/MAPREDUCE-4579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440504#comment-13440504
]
Thomas Graves commented on MAPREDUCE-4579:
------------------------------------------
Note the big warning comment in the test:
//WARNING: This test must run first. This is because there is an
// optimization where the credentials passed in are cached statically so
// they do not need to be recomputed when creating a new
// ContainerLaunchContext. if other tests run first this code will cache
// their credentials and this test will fail trying to look for the
// credentials it inserted in.
> TestTaskAttempts fails jdk7
> ---------------------------
>
> Key: MAPREDUCE-4579
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4579
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 0.23.3, 3.0.0, 2.2.0-alpha
> Reporter: Thomas Graves
> Assignee: Thomas Graves
> Labels: java7
>
> -------------------------------------------------------------------------------
> Test set: org.apache.hadoop.mapreduce.v2.app.job.impl.TestTaskAttempt
> -------------------------------------------------------------------------------
> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.205 sec
> <<<
> FAILURE!testAttemptContainerRequest(org.apache.hadoop.mapreduce.v2.app.job.impl.TestTaskAttempt)
> Time elapsed: 0.032 sec <<< ERROR!
> java.io.EOFException
> at java.io.DataInputStream.readByte(DataInputStream.java:267)
> at
> org.apache.hadoop.io.WritableUtils.readVLong(WritableUtils.java:308)
> at org.apache.hadoop.io.WritableUtils.readVInt(WritableUtils.java:329)
> at org.apache.hadoop.io.Text.readFields(Text.java:280)
> at org.apache.hadoop.security.token.Token.readFields(Token.java:165)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira