hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes.Lichtenberger" <Johannes.Lichtenber...@uni-konstanz.de>
Subject Eclipse
Date Thu, 07 Oct 2010 03:06:21 GMT
Hello,

How do I run my Hadoop application within Eclipse? I've compiled the
plugin, but the following exception occurs (if run as "run on hadoop" or
"java application").

10/10/07 05:03:11 WARN conf.Configuration: DEPRECATED: hadoop-site.xml
found in the classpath. Usage of hadoop-site.xml is deprecated. Instead
use core-site.xml, mapred-site.xml and hdfs-site.xml to override
properties of core-default.xml, mapred-default.xml and hdfs-default.xml
respectively
Exception in thread "main" org.apache.hadoop.ipc.RemoteException:
java.io.IOException: Unknown protocol to DataNode:
org.apache.hadoop.mapred.JobSubmissionProtocol
	at
org.apache.hadoop.hdfs.server.datanode.DataNode.getProtocolVersion(DataNode.java:1531)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:512)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:968)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:964)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:396)
	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:962)

	at org.apache.hadoop.ipc.Client.call(Client.java:817)
	at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:221)
	at org.apache.hadoop.mapred.$Proxy0.getProtocolVersion(Unknown Source)
	at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:363)
	at org.apache.hadoop.mapred.JobClient.createRPCProxy(JobClient.java:470)
	at org.apache.hadoop.mapred.JobClient.init(JobClient.java:455)
	at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:442)
	at org.apache.hadoop.mapreduce.Job.<init>(Job.java:50)
	at com.treetank.wikipedia.hadoop.SortWiki.run(SortWiki.java:75)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
	at com.treetank.wikipedia.hadoop.SortWiki.main(SortWiki.java:68)

regards,
Johannes

Mime
View raw message