Check your NN logs, did it crash down for some reason? On Mon, May 2, 2011 at 9:43 PM, schadoop11 <[email protected]> wrote: > > got the following error, already set up .ssh keys for logging into localhost > automaically, also opened TCP port 54310 in firewall > > 11/05/02 09:10:26 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:54310. Already tried 0 time(s). > 11/05/02 09:10:27 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:54310. Already tried 1 time(s). > 11/05/02 09:10:28 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:54310. Already tried 2 time(s). > 11/05/02 09:10:29 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:54310. Already tried 3 time(s). > 11/05/02 09:10:30 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:54310. Already tried 4 time(s). > 11/05/02 09:10:31 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:54310. Already tried 5 time(s). > 11/05/02 09:10:32 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:54310. Already tried 6 time(s). > 11/05/02 09:10:33 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:54310. Already tried 7 time(s). > 11/05/02 09:10:34 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:54310. Already tried 8 time(s). > 11/05/02 09:10:35 INFO ipc.Client: Retrying connect to server: > localhost/127.0.0.1:54310. Already tried 9 time(s). > Exception in thread "main" java.net.ConnectException: Call to > localhost/127.0.0.1:54310 failed on connection exception: > java.net.ConnectException: Connection refused > at org.apache.hadoop.ipc.Client.wrapException(Client.java:1131) > at org.apache.hadoop.ipc.Client.call(Client.java:1107) > at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:226) > at $Proxy0.getProtocolVersion(Unknown Source) > at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:398) > at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:384) > at > org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:111) > at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:213) > at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:180) > at > org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:89) > at > org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1514) > at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:67) > at > org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1548) > at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1530) > > -- > View this message in context: > http://old.nabble.com/Errors-running-hadoop-single-instance-tp31525077p31525077.html > Sent from the Hadoop core-user mailing list archive at Nabble.com. > >
-- Harsh J
