Could you please attach the logs of TaskTracker and NameNode. Thanks & Regards, Saurabh Bhutyani
Call : 9820083104 Gtalk: [email protected] On Wed, Apr 20, 2011 at 7:04 PM, abhishek sharma <[email protected]> wrote: > What do you see in the datanode and tasttracker logs? > > Abhishek > > On Wed, Apr 20, 2011 at 5:30 AM, Rong Yi <[email protected]> wrote: > > Hi, > > > > I constructed a hadoop environment using 4 host, hadoop1, hadoop2 > hadoop3 > > and hadoop4, which are all Ubuntu10.10 desktop. Hadoop1 is the namenode > > while the other three are datanode. > > > > > > > > After I configured the environment and installed hadoop, I tried to > start > > hadoop. When I executed "start-all.sh", the output information was as > > follows: > > > > > > > > starting namenode, logging to > > /usr/local/hadoop/logs/hadoop-hadoop-namenode-hadoop1.out > > hadoop1:starting datanode, logging to > > /usr/local/hadoop/logs/hadoop-hadoop-datanode-hadoop1.out > > hadoop3:starting datanode, logging to > > /usr/local/hadoop/logs/hadoop-hadoop-datanode-hadoop3.out > > hadoop4:starting datanode, logging to > > /usr/local/hadoop/logs/hadoop-hadoop-datanode-hadoop4.out > > hadoop2:starting datanode, logging to > > /usr/local/hadoop/logs/hadoop-hadoop-datanode-hadoop2.out > > hadoop1:atarting secondarynamenode, logging to > > /usr/local/hadoop/logs/hadoop-hadoop-secondarynamenode-hadoop1.out > > starting jobtracker, logging to > > /usr/local/hadoop/logs/hadoop-hadoop-jobtracker-hadoop1.out > > hadoop3:starting tasktracker, logging to > > /usr/local/hadoop/logs/hadoop-hadoop-tasktracker-hadoop3.out > > hadoop4:starting tasktracker, logging to > > /usr/local/hadoop/logs/hadoop-hadoop-tasktracker-hadoop4.out > > hadoop2:starting tasktracker, logging to > > /usr/local/hadoop/logs/hadoop-hadoop-tasktracker-hadoop2.out > > hadoop1:starting tasktracker, logging to > > /usr/local/hadoop/logs/hadoop-hadoop-tasktracker-hadoop1.out > > > > > > > > but when I executed "hadoop dfsadmin -report" to check the hadoop state, > the > > result was that: > > > > > > > > Configured Capacity: 0(0KB) > > Present Capacity: 0(0KB) > > DFS Remaining: 0(0KB) > > DFS Used: 0(0KB) > > DSF Used%:?% > > Under Replicated blocks:0 > > Blocks with corrupt replicas: 0 > > Missing blocks: 0 > > > > ---------------------------------------------------- > > Databodes available: 0(0 total, 0 dead) > > > > > > > > When I executed "stop-all.sh", the output is that: > > > > > > > > Stopping namenode > > > > Hadoop1: no datanode to stop > > > > Hadoop3: stopping datanode > > > > Hadoop4: no datanode to stop > > > > Hadoop2: stopping datanode > > > > Hadoop1: stopping secondarynamenode > > > > Stopping jobtracker > > > > Hadoop1: no tasktracker to stop > > > > Hadoop3: stopping tasktracker > > > > Hadoop2: stopping tasktracker > > > > Hadoop4: no tasktracker to stop > > > > > > > > I don't know why the two datanode and tasktracker cannote start. > > > > > > > > Could you please help me solve the problem? Thank you in advance! > > > > > > > > > > > > Best Regards! > > > > > > > > Rong Yi > > > > >
