[
https://issues.apache.org/jira/browse/MAPREDUCE-2163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mithun Radhakrishnan updated MAPREDUCE-2163:
--------------------------------------------
Attachment: ReducedTest.java
A reduced test that reproduces the bug.
> MiniMRCluster does not start correctly.
> ---------------------------------------
>
> Key: MAPREDUCE-2163
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2163
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: test
> Affects Versions: 0.22.0
> Reporter: Mithun Radhakrishnan
> Attachments: ReducedTest.java
>
>
> Test code written against MiniMRCluster does not execute correctly. The
> MiniDFSCluster instance comes up alright, but when the MiniMRCluster starts
> up, one gets hundreds of stack-traces of the following kind:
> 10/10/28 15:55:47 INFO ipc.Server: IPC Server handler 2 on 61176, call
> getBuildVersion() from 127.0.0.1:61181: error: java.io.IOException:
> java.lang.annotation.IncompleteAnnotationException:
> org.apache.hadoop.HadoopVersionAnnotation missing element srcChecksum
> java.io.IOException: java.lang.annotation.IncompleteAnnotationException:
> org.apache.hadoop.HadoopVersionAnnotation missing element srcChecksum
> at
> sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:53)
> at $Proxy7.srcChecksum(Unknown Source)
> at
> org.apache.hadoop.util.VersionInfo.getSrcChecksum(VersionInfo.java:100)
> at
> org.apache.hadoop.util.VersionInfo.getBuildVersion(VersionInfo.java:108)
> at
> org.apache.hadoop.mapred.JobTracker.getBuildVersion(JobTracker.java:2367)
> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:349)
> at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1399)
> at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1395)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:396)
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1114)
> at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1393)
> It would appear that the hadoop-mapred-test-0.22.0-SNAPSHOT.jar hosted on
> Apache might be missing the srcChecksum element, wherever
> HadoopVersionAnnotation is being used.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.