IP address with not work ..You have to put the hostnames in every configuration file. On Wed, Feb 9, 2011 at 2:01 PM, ursbrbalaji <ursbrbal...@gmail.com> wrote:
> > > Hi Madhu, > > The jobtracker logs show the following exception. > > 2011-02-09 16:24:51,244 INFO org.apache.hadoop.mapred.JobTracker: > STARTUP_MSG: > /************************************************************ > STARTUP_MSG: Starting JobTracker > STARTUP_MSG: host = BRBALAJI-PC/172.17.168.45 > STARTUP_MSG: args = [] > STARTUP_MSG: version = 0.20.2 > STARTUP_MSG: build = > https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20 -r > 911707; compiled by 'chrisdo' on Fri Feb 19 08:07:34 UTC 2010 > ************************************************************/ > 2011-02-09 16:24:51,357 INFO org.apache.hadoop.mapred.JobTracker: Scheduler > configured with (memSizeForMapSlotOnJT, memSizeForReduceSlotOnJT, > limitMaxMemForMapTasks, limitMaxMemForReduceTasks) (-1, -1, -1, -1) > 2011-02-09 16:24:51,421 INFO org.apache.hadoop.ipc.metrics.RpcMetrics: > Initializing RPC Metrics with hostName=JobTracker, port=54311 > 2011-02-09 16:24:56,538 INFO org.mortbay.log: Logging to > org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via > org.mortbay.log.Slf4jLog > 2011-02-09 16:24:56,703 INFO org.apache.hadoop.http.HttpServer: Port > returned by webServer.getConnectors()[0].getLocalPort() before open() is > -1. > Opening the listener on 50030 > 2011-02-09 16:24:56,704 INFO org.apache.hadoop.http.HttpServer: > listener.getLocalPort() returned 50030 > webServer.getConnectors()[0].getLocalPort() returned 50030 > 2011-02-09 16:24:56,704 INFO org.apache.hadoop.http.HttpServer: Jetty bound > to port 50030 > 2011-02-09 16:24:56,704 INFO org.mortbay.log: jetty-6.1.14 > 2011-02-09 16:24:57,394 INFO org.mortbay.log: Started > SelectChannelConnector@0.0.0.0:50030 > 2011-02-09 16:24:57,395 INFO org.apache.hadoop.metrics.jvm.JvmMetrics: > Initializing JVM Metrics with processName=JobTracker, sessionId= > 2011-02-09 16:24:57,396 INFO org.apache.hadoop.mapred.JobTracker: > JobTracker > up at: 54311 > 2011-02-09 16:24:57,396 INFO org.apache.hadoop.mapred.JobTracker: > JobTracker > webserver: 50030 > 2011-02-09 16:24:58,710 INFO org.apache.hadoop.ipc.Client: Retrying connect > to server: localhost/127.0.0.1:54310. Already tried 0 time(s). > 2011-02-09 16:24:59,711 INFO org.apache.hadoop.ipc.Client: Retrying connect > to server: localhost/127.0.0.1:54310. Already tried 1 time(s). > 2011-02-09 16:25:00,712 INFO org.apache.hadoop.ipc.Client: Retrying connect > to server: localhost/127.0.0.1:54310. Already tried 2 time(s). > 2011-02-09 16:25:01,713 INFO org.apache.hadoop.ipc.Client: Retrying connect > to server: localhost/127.0.0.1:54310. Already tried 3 time(s). > 2011-02-09 16:25:02,713 INFO org.apache.hadoop.ipc.Client: Retrying connect > to server: localhost/127.0.0.1:54310. Already tried 4 time(s). > 2011-02-09 16:25:03,714 INFO org.apache.hadoop.ipc.Client: Retrying connect > to server: localhost/127.0.0.1:54310. Already tried 5 time(s). > 2011-02-09 16:25:04,715 INFO org.apache.hadoop.ipc.Client: Retrying connect > to server: localhost/127.0.0.1:54310. Already tried 6 time(s). > 2011-02-09 16:25:05,715 INFO org.apache.hadoop.ipc.Client: Retrying connect > to server: localhost/127.0.0.1:54310. Already tried 7 time(s). > 2011-02-09 16:25:06,716 INFO org.apache.hadoop.ipc.Client: Retrying connect > to server: localhost/127.0.0.1:54310. Already tried 8 time(s). > 2011-02-09 16:25:07,717 INFO org.apache.hadoop.ipc.Client: Retrying connect > to server: localhost/127.0.0.1:54310. Already tried 9 time(s). > 2011-02-09 16:25:07,722 INFO org.apache.hadoop.mapred.JobTracker: problem > cleaning system directory: null > 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:767) > at org.apache.hadoop.ipc.Client.call(Client.java:743) > at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220) > at $Proxy4.getProtocolVersion(Unknown Source) > at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359) > at > org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:106) > at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:207) > at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:170) > at > > org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:82) > at > org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1378) > at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66) > at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1390) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:196) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95) > at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1665) > at > org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:183) > at > org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:175) > at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:3702) > Caused by: java.net.ConnectException: Connection refused > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) > at > sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574) > at > > org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206) > at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:404) > at > org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:304) > at > org.apache.hadoop.ipc.Client$Connection.access$1700(Client.java:176) > at org.apache.hadoop.ipc.Client.getConnection(Client.java:860) > at org.apache.hadoop.ipc.Client.call(Client.java:720) > ... 16 more > 2011-02-09 16:25:08,899 INFO org.apache.hadoop.mapred.JobTracker: > SHUTDOWN_MSG: > /************************************************************ > SHUTDOWN_MSG: Shutting down JobTracker at BRBALAJI-PC/172.17.168.45 > ************************************************************/ > Please let me know what might be the problem. > > Thanks, > B R Balaji > -- > View this message in context: > http://hadoop-common.472056.n3.nabble.com/no-jobtracker-to-stop-no-namenode-to-stop-tp34874p2457071.html > Sent from the Users mailing list archive at Nabble.com. >