You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by arvind subramanian <al...@gmail.com> on 2009/08/14 06:28:27 UTC

Error in starting Pseudo-Distributed mode hadoop-0.19.2

Hi,

I am new to Hadoop, and am trying to get Hadoop started in
Pseudo-distributed mode  on   ubuntu jaunty.

In the archives I noticed that someone had a similar issue with
hadoop-0.20.0,   but the logs are different.

As in the quickstart  guide  (
http://hadoop.apache.org/common/docs/current/quickstart.html) , I
configured the xml files, and set up   passphraseless ssh


The output of  bin/hadoop namenode -format   is as follows :


09/08/13 23:52:49 INFO namenode.NameNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG:   host = arvind-laptop/127.0.1.1
STARTUP_MSG:   args = [-format]
STARTUP_MSG:   version = 0.19.2
STARTUP_MSG:   build =
https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.19 -r
789657; compiled by 'root' on Tue Jun 30 12:40:50 EDT 2009
************************************************************/
Re-format filesystem in /tmp/hadoop-arvind/dfs/name ? (Y or N) Y
09/08/13 23:52:52 INFO namenode.FSNamesystem:
fsOwner=arvind,arvind,adm,dialout,cdrom,plugdev,lpadmin,admin,sambashare
09/08/13 23:52:52 INFO namenode.FSNamesystem: supergroup=supergroup
09/08/13 23:52:52 INFO namenode.FSNamesystem: isPermissionEnabled=true
09/08/13 23:52:52 INFO common.Storage: Image file of size 96 saved in 0
seconds.
09/08/13 23:52:52 INFO common.Storage: Storage directory
/tmp/hadoop-arvind/dfs/name has been successfully formatted.
09/08/13 23:52:52 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at arvind-laptop/127.0.1.1
************************************************************/

The task-tracker log had the following error :

2009-08-13 23:11:55,884 ERROR org.apache.hadoop.mapred.TaskTracker: Can not
start task tracker because java.lang.RuntimeException: Not a host:port pair:
local
    at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:134)
    at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:121)
    at org.apache.hadoop.mapred.JobTracker.getAddress(JobTracker.java:1318)
    at org.apache.hadoop.mapred.TaskTracker.<init>(TaskTracker.java:884)
    at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:2798)



After this point,  I could not acess  these in my browser  :

   - NameNode - http://localhost:50070/
   - JobTracker - http://localhost:50030/

If anyone could give an hint  on what could be the issue, it would be
great!

On another note, the quick start guide pointed to Cloudera's  distribution
of  Hadoop, and they have  debian package for ubuntu.
Is the development plan of Apache and Cloudera same? Do both ship the same
source release?


Cheers,
Arvind