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 "Mithun Radhakrishnan (JIRA)" <ji...@apache.org> on 2010/10/28 12:42:21 UTC
[jira] Commented: (MAPREDUCE-2163) MiniMRCluster does not start
correctly.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925770#action_12925770 ]
Mithun Radhakrishnan commented on MAPREDUCE-2163:
-------------------------------------------------
For reference, the reduced test-case that reproduces this failure is as follows:
package org.apache.hadoop.tools;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hdfs.MiniDFSCluster;
import org.apache.hadoop.mapred.MiniMRCluster;
public class ReducedTest {
public static void main(String ignore[]) throws Exception {
System.setProperty("hadoop.log.dir", "target/tmp");
Configuration configuration = new Configuration();
MiniDFSCluster dfsCluster = new MiniDFSCluster.Builder(configuration).numDataNodes(1).format(true).build();
MiniMRCluster mrCluster = new MiniMRCluster(1, dfsCluster.getFileSystem().getUri().toString(), 1);
}
}
> 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
>
> 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.