hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xine Jar <xineja...@googlemail.com>
Subject problem with starting the Jobtracker and thenamenode
Date Mon, 06 Jul 2009 07:34:38 GMT
*Hallo, I am using Hadoop 0.18.3 on a cluster of three linux machines.
The jobtracker and the namenode cannot be started. I have copied the log
files and
the configuration file. Can someone help?*


*Jobtracker log file

*2009-07-03 17:34:09,315 INFO org.apache.hadoop.mapred.JobTracker:
STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting JobTracker
STARTUP_MSG:   host = alshain/134.130.222.20
STARTUP_MSG:   args = []
STARTUP_MSG:   version = 0.18.3
STARTUP_MSG:   build =
https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.18 -r 736250;
compiled by 'ndaley' on Thu Jan 22 23:12:08 UTC 2009
************************************************************/
2009-07-03 17:34:09,429 FATAL org.apache.hadoop.mapred.JobTracker:
java.net.BindException: Problem binding to
albali.mobnets.RWTH-Aachen.DE/134.130.222.18:9001 : Cannot assign requested
address
    at org.apache.hadoop.ipc.Server.bind(Server.java:170)
    at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:233)
    at org.apache.hadoop.ipc.Server.<init>(Server.java:953)
    at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:465)
    at org.apache.hadoop.ipc.RPC.getServer(RPC.java:427)
    at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:659)
    at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:131)
    at org.apache.hadoop.mapred.JobTracker.main(JobTracker.java:2373)
Caused by: java.net.BindException: Cannot assign requested address
    at sun.nio.ch.Net.bind(Native Method)
    at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
    at org.apache.hadoop.ipc.Server.bind(Server.java:168)
    ... 7 more

2009-07-03 17:34:09,430 INFO org.apache.hadoop.mapred.JobTracker:
SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down JobTracker at alshain/134.130.222.20
************************************************************/

*Namenode log file*

STARTUP_MSG: Starting NameNode
STARTUP_MSG:   host = alshain/134.130.222.20
STARTUP_MSG:   args = []
STARTUP_MSG:   version = 0.18.3
STARTUP_MSG:   build =
https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.18 -r 736250;
compiled by 'ndaley' on Thu Jan 22 23:12:08 UTC 2009
************************************************************/
2009-07-03 17:33:23,246 INFO org.apache.hadoop.ipc.metrics.RpcMetrics:
Initializing RPC Metrics with hostName=NameNode, port=9000
2009-07-03 17:33:23,284 INFO org.apache.hadoop.dfs.NameNode: Namenode up at:
alshain.mobnets.rwth-aachen.de/134.130.222.20:9000
2009-07-03 17:33:23,287 INFO org.apache.hadoop.metrics.jvm.JvmMetrics:
Initializing JVM Metrics with processName=NameNode, sessionId=null
2009-07-03 17:33:23,291 INFO org.apache.hadoop.dfs.NameNodeMetrics:
Initializing NameNodeMeterics using context
object:org.apache.hadoop.metrics.spi.NullContext
2009-07-03 17:33:23,355 INFO org.apache.hadoop.fs.FSNamesystem:
fsOwner=root,root
2009-07-03 17:33:23,355 INFO org.apache.hadoop.fs.FSNamesystem:
supergroup=supergroup
2009-07-03 17:33:23,355 INFO org.apache.hadoop.fs.FSNamesystem:
isPermissionEnabled=true
2009-07-03 17:33:23,361 INFO org.apache.hadoop.dfs.FSNamesystemMetrics:
Initializing FSNamesystemMeterics using context
object:org.apache.hadoop.metrics.spi.NullContext
2009-07-03 17:33:23,362 INFO org.apache.hadoop.fs.FSNamesystem: Registered
FSNamesystemStatusMBean
2009-07-03 17:33:23,393 ERROR org.apache.hadoop.fs.FSNamesystem:
FSNamesystem initialization failed.
java.io.IOException: NameNode is not formatted.
    at org.apache.hadoop.dfs.FSImage.recoverTransitionRead(FSImage.java:243)
    at org.apache.hadoop.dfs.FSDirectory.loadFSImage(FSDirectory.java:80)
    at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:294)
    at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:273)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:148)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:193)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:179)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:830)
    at org.apache.hadoop.dfs.NameNode.main(NameNode.java:839)
2009-07-03 17:33:23,394 INFO org.apache.hadoop.ipc.Server: Stopping server
on 9000
2009-07-03 17:33:23,394 ERROR org.apache.hadoop.dfs.NameNode:
java.io.IOException: NameNode is not formatted.
    at org.apache.hadoop.dfs.FSImage.recoverTransitionRead(FSImage.java:243)
    at org.apache.hadoop.dfs.FSDirectory.loadFSImage(FSDirectory.java:80)
    at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:294)
    at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:273)
    at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:148)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:193)
    at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:179)
    at org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:830)
    at org.apache.hadoop.dfs.NameNode.main(NameNode.java:839)

2009-07-03 17:33:23,395 INFO org.apache.hadoop.dfs.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at alshain/134.130.222.20
************************************************************/


*Hadoop-site.xml

*<configuration>
    <property>
        <name>fs.default.name</name>
        <value>hdfs://134.130.222.20:9000/</value>
    </property>
    <property>
        <name>mapred.job.tracker</name>
        <value>134.130.222.18:9001</value>
    </property>
    <property>
        <name>dfs.name.dir</name>
        <value>/root/Desktop/hadoop-0.18.3/logstina</value>
    </property>
    <property>
        <name>dfs.data.dir</name>
        <value>/root/Desktop/hadoop-0.18.3/blockstina</value>
    </property>
    <property>
        <name>mapred.system.dir</name>
        <value>systemtina</value>
    </property>
    <property>
        <name>mapred.local.dir</name>
        <value>/root/Desktop/hadoop-0.18.3/tempMapReducetina</value>
    </property>
</configuration>

*Thank you,
CJ*

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