hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hairong Kuang <hair...@yahoo-inc.com>
Subject Re: Unknown protocol to name node: JobSubmissionProtocol
Date Wed, 30 Jul 2008 18:51:42 GMT
JobClient is supposed to talk a JobTracker. But the stack trace shows that
it talked to a namenode. Could you check your configuration to see if the
jobtracker port # was set to be the same as the namenode port #.

Hairong 


On 7/30/08 6:56 AM, "Arv Mistry" <arv@kindsight.net> wrote:

>  
> Can anyone provide any hints as to why this might be happening;
> 
> I have hadoop running all process' on one machine (for trouble-shooting)
> and when I go to submit a job from another machine I get the following
> exception;
> 
> INFO   | jvm 2    | 2008/07/30 06:05:05 | 2008-07-30 06:05:05,117 ERROR
> [HadoopJobTool] java.io.IOException: Unknown protocol to name node:
> org.apache.hadoop.mapred.JobSubmissionProtocol
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.dfs.NameNode.getProtocolVersion(NameNode.java:84)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> java.lang.reflect.Method.invoke(Method.java:597)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.ipc.RPC$Server.call(RPC.java:446)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.ipc.Server$Handler.run(Server.java:896)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |
> INFO   | jvm 2    | 2008/07/30 06:05:05 |
> org.apache.hadoop.ipc.RemoteException: java.io.IOException: Unknown
> protocol to name node: org.apache.hadoop.mapred.JobSubmissionProtocol
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.dfs.NameNode.getProtocolVersion(NameNode.java:84)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> java.lang.reflect.Method.invoke(Method.java:597)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.ipc.RPC$Server.call(RPC.java:446)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.ipc.Server$Handler.run(Server.java:896)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.ipc.Client.call(Client.java:557)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:212)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> $Proxy4.getProtocolVersion(Unknown Source)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.ipc.RPC.getProxy(RPC.java:313)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.ipc.RPC.getProxy(RPC.java:300)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.mapred.JobClient.createRPCProxy(JobClient.java:383)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.mapred.JobClient.init(JobClient.java:376)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:346)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:958)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> com.rialto.profiler.profiler.clickstream.hadoop.HadoopJobTool.run(Hadoop
> JobTool.java:129)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> com.rialto.profiler.profiler.clickstream.hadoop.HadoopJobTool.launchJob(
> HadoopJobTool.java:142)
> INFO   | jvm 2    | 2008/07/30 06:05:05 |       at
> com.rialto.profiler.profiler.clickstream.RawStreamGenerator.run(RawStrea
> mGenerator.java:138)


Mime
View raw message