hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Biju .B" <bijub...@gmail.com>
Subject Re: Connection refused problem
Date Fri, 22 Oct 2010 14:09:40 GMT
thnx this solved my issue

On Fri, Oct 22, 2010 at 3:24 PM, Harsh J <qwertymaniac@gmail.com> wrote:

> On Fri, Oct 22, 2010 at 2:45 PM, Biju .B <bijubkbk@gmail.com> wrote:
> > Hi all
> >
> > I have started hadoop and its running
> >
> > am getting following error when i try to execute a simple map reduce
> program
> >
> > root@cjb3f-69:/home/media/Desktop# hadoop-0.20 jar HadoopSample.jar
> > HadoopSample input output
> > 10/10/22 14:41:58 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:8020. Already tried 0 time(s).
> > 10/10/22 14:41:59 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:8020. Already tried 1 time(s).
> > 10/10/22 14:42:00 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:8020. Already tried 2 time(s).
> > 10/10/22 14:42:01 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:8020. Already tried 3 time(s).
> > 10/10/22 14:42:02 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:8020. Already tried 4 time(s).
> > 10/10/22 14:42:03 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:8020. Already tried 5 time(s).
> > 10/10/22 14:42:04 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:8020. Already tried 6 time(s).
> > 10/10/22 14:42:05 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:8020. Already tried 7 time(s).
> > 10/10/22 14:42:06 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:8020. Already tried 8 time(s).
> > 10/10/22 14:42:07 INFO ipc.Client: Retrying connect to server: localhost/
> > 127.0.0.1:8020. Already tried 9 time(s).
> > Exception in thread "main" java.lang.RuntimeException:
> > java.net.ConnectException: Call to localhost/127.0.0.1:8020 failed on
> > connection exception: java.net.ConnectException: Connection refused
> >    at
> > org.apache.hadoop.mapred.JobConf.getWorkingDirectory(JobConf.java:370)
> >    at
> >
> org.apache.hadoop.mapred.FileOutputFormat.setOutputPath(FileOutputFormat.java:125)
> >    at HadoopSample.main(HadoopSample.java:55)
> >    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.util.RunJar.main(RunJar.java:156)
> > Caused by: java.net.ConnectException: Call to
> > localhost/127.0.0.1:8020failed on connection exception:
> > java.net.ConnectException: Connection
> > refused
> >    at org.apache.hadoop.ipc.Client.wrapException(Client.java:845)
> >    at org.apache.hadoop.ipc.Client.call(Client.java:821)
> >    at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:221)
> >    at $Proxy0.getProtocolVersion(Unknown Source)
> >    at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:363)
> >    at
> > org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:110)
>
> Is your NameNode configured to listen on the localhost interface (lo)?
> Is it up, if so? Check jps output and the namenode logs in
> $HADOOP_HOME/logs directory.
>
> > can any one help.
> >
> > I am using cloudera hadoop on Ubuntu
>
> There is a CDH specific mailing list also available at
> https://groups.google.com/a/cloudera.org/group/cdh-user/topics for CDH
> Users.
>
>
> --
> Harsh J
> www.harshj.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message