hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Namenode server is not starting for lily.
Date Mon, 19 Sep 2011 16:57:46 GMT
Hey Rahul,

Few things:

- For format command, please enter a capital 'Y' when it prompts for a
reformat. I don't see why you need a reformat, but if that's what you
want to do… (Side note: On future versions, hadoop will do OK with
regular answers like y/Y etc.).
- Ensure you have bash installed on all your nodes?
- Can you paste your hadoop-env.sh contents to a site like
pastebin.com and post the link? Or paste it into a reply mail. I'm
guessing you have some odd formatting in there, probably.

On Mon, Sep 19, 2011 at 12:45 PM, Rahul Mehta <rahul23134654@gmail.com> wrote:
> Hi,
>
> Actually we want to run lily seperatly hadoop , hbase and all.but when i am
> starting lily server it say namenode server is not started .
>
> Please suggest what is the problem.
>
> when i am doing bin/hadoop namenode -format
>
> then it is giving me following result .
>
> 11/09/19 05:07:49 INFO namenode.NameNode: STARTUP_MSG:
> /************************************************************
> STARTUP_MSG: Starting NameNode
> STARTUP_MSG:   host = basf/184.106.83.141
> STARTUP_MSG:   args = [-format]
> STARTUP_MSG:   version = 0.20.2-cdh3u1
> STARTUP_MSG:   build =
> file:///tmp/nightly_2011-07-18_07-57-52_3/hadoop-0.20-0.20.2+923.97-1~maver
> ick
> -r bdafb1dbffd0d5f2fbc6ee022e1c8df6500fd638; compiled by 'root' on Mon Jul
> 18 09:40:07 PDT 2011
> ************************************************************/
> Re-format filesystem in /home/reach121/lily-1.0.1/data/dfs_name_dir ? (Y or
> N) y
> Format aborted in /home/reach121/lily-1.0.1/data/dfs_name_dir
> 11/09/19 05:07:59 INFO namenode.NameNode: SHUTDOWN_MSG:
> /************************************************************
> SHUTDOWN_MSG: Shutting down NameNode at basf/184.106.83.141
> ************************************************************/
>
> and when m starting bin/start-all.sh
> Then it is giving me following result .
>
> [sudo] password for reach121:
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> starting namenode, logging to
> /usr/lib/hadoop-0.20/bin/../logs/hadoop-root-namenode-basf.out
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> May not run daemons as root. Please specify HADOOP_NAMENODE_USER
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> The authenticity of host 'basf (184.106.83.141)' can't be established.
> RSA key fingerprint is 83:a3:bf:0f:5b:92:28:1d:99:67:63:83:a8:b5:d9:d4.
> Are you sure you want to continue connecting (yes/no)? y
> Please type 'yes' or 'no': yeas
> Please type 'yes' or 'no': yes
> basf: Warning: Permanently added 'basf,184.106.83.141' (RSA) to the list of
> known hosts.
> root@basf's password:
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command
> not
> found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command
> not
> found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command
> not found
> basf: starting datanode, logging to
> /usr/lib/hadoop-0.20/bin/../logs/hadoop-root-datanode-basf.out
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command
> not
> found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command
> not
> found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command
> not found
> basf: May not run daemons as root. Please specify HADOOP_DATANODE_USER
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> root@basf's password:
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command
> not
> found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command
> not
> found : /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136:
> command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command
> not found
> basf: starting secondarynamenode, logging to
> /usr/lib/hadoop-0.20/bin/../logs/hadoop-root-secondarynamenode-basf.out
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command
> not
> found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command
> not
> found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command
> not found
> basf: May not run daemons as root. Please specify
> HADOOP_SECONDARYNAMENODE_USER
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> starting jobtracker, logging to
> /usr/lib/hadoop-0.20/bin/../logs/hadoop-root-jobtracker-basf.out
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> May not run daemons as root. Please specify HADOOP_JOBTRACKER_USER
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command not
> found
> /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command not
> found
> root@basf's password:
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command
> not
> found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command
> not
> found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command
> not found
> basf: starting tasktracker, logging to
> /usr/lib/hadoop-0.20/bin/../logs/hadoop-root-tasktracker-basf.out
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command
> not
> found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0c#: command
> not found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 0: command
> not
> found
> basf: /usr/lib/hadoop-0.20/bin/../conf/hadoop-env.sh: line 1: 136: command
> not found
> basf: ...
>
> --
> Thanks & Regards
>
> Rahul Mehta
>



-- 
Harsh J

Mime
View raw message