Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop, mail # user - Error in Formatting NameNode


Copy link to this message
-
Re: Error in Formatting NameNode
Raj Vishwanathan 2012-02-12, 15:40
Manish

If you read the error message, it says "connection refused". Big clue :-)

You probably have firewall configured.

Raj

Sent from my iPad
Please excuse the typos.

On Feb 12, 2012, at 1:41 AM, Manish Maheshwari <[EMAIL PROTECTED]> wrote:

> Thanks,
>
> I tried with hadoop-1.0.0 and JRE6 and things are looking good. I was able
> to format the namenode and bring up the NameNode 'calvin-PC:47110' and
> Hadoop Map/Reduce Administration webpages.
>
> Further i tried the example of TestDFSIO but get the below error of
> connection refused.
>
> -bash-4.1$ cd share/hadoop
> -bash-4.1$ ../../bin/hadoop jar hadoop-test-1.0.0.jar TestDFSIO –write
> –nrFiles 1 –filesize 10
> Warning: $HADOOP_HOME is deprecated.
>
> TestDFSIO.0.0.4
> 12/02/12 15:05:08 INFO fs.TestDFSIO: nrFiles = 1
> 12/02/12 15:05:08 INFO fs.TestDFSIO: fileSize (MB) = 1
> 12/02/12 15:05:08 INFO fs.TestDFSIO: bufferSize = 1000000
> 12/02/12 15:05:08 INFO fs.TestDFSIO: creating control file: 1 mega bytes, 1
> files
> 12/02/12 15:05:08 INFO fs.TestDFSIO: created control files for: 1 files
> 12/02/12 15:05:11 INFO ipc.Client: Retrying connect to server: calvin-PC/
> 127.0.0.1:8021. Already tried 0 time(s).
> 12/02/12 15:05:13 INFO ipc.Client: Retrying connect to server: calvin-PC/
> 127.0.0.1:8021. Already tried 1 time(s).
> 12/02/12 15:05:15 INFO ipc.Client: Retrying connect to server: calvin-PC/
> 127.0.0.1:8021. Already tried 2 time(s).
> 12/02/12 15:05:17 INFO ipc.Client: Retrying connect to server: calvin-PC/
> 127.0.0.1:8021. Already tried 3 time(s).
> 12/02/12 15:05:19 INFO ipc.Client: Retrying connect to server: calvin-PC/
> 127.0.0.1:8021. Already tried 4 time(s).
> 12/02/12 15:05:21 INFO ipc.Client: Retrying connect to server: calvin-PC/
> 127.0.0.1:8021. Already tried 5 time(s).
> 12/02/12 15:05:23 INFO ipc.Client: Retrying connect to server: calvin-PC/
> 127.0.0.1:8021. Already tried 6 time(s).
> 12/02/12 15:05:25 INFO ipc.Client: Retrying connect to server: calvin-PC/
> 127.0.0.1:8021. Already tried 7 time(s).
> 12/02/12 15:05:27 INFO ipc.Client: Retrying connect to server: calvin-PC/
> 127.0.0.1:8021. Already tried 8 time(s).
> 12/02/12 15:05:29 INFO ipc.Client: Retrying connect to server: calvin-PC/
> 127.0.0.1:8021. Already tried 9 time(s).
> java.net.ConnectException: Call to calvin-PC/127.0.0.1:8021 failed on
> connection exception: java.net.ConnectException: Connection refused: no
> further information
>        at org.apache.hadoop.ipc.Client.wrapException(Client.java:1095)
>        at org.apache.hadoop.ipc.Client.call(Client.java:1071)
>        at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225)
>        at org.apache.hadoop.mapred.$Proxy2.getProtocolVersion(Unknown
> Source)
>        at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396)
>        at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:379)
>        at
> org.apache.hadoop.mapred.JobClient.createRPCProxy(JobClient.java:480)
>        at org.apache.hadoop.mapred.JobClient.init(JobClient.java:474)
>        at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:457)
>        at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1260)
>        at org.apache.hadoop.fs.TestDFSIO.runIOTest(TestDFSIO.java:257)
>        at org.apache.hadoop.fs.TestDFSIO.readTest(TestDFSIO.java:295)
>        at org.apache.hadoop.fs.TestDFSIO.run(TestDFSIO.java:459)
>        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>        at org.apache.hadoop.fs.TestDFSIO.main(TestDFSIO.java:317)
>        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.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
>        at