Hi Arun, thanks for your reply.
I actually attempted to format the namenode with the same common you provided, 
but apparently in 2.2 it has been deprecated:



>"bin/hadoop namenode -format"

>DEPRECATED: Use of this script to execute hdfs command is deprecated. Instead 
>use the hdfs command for it.



By playing around I found I could format the namenode with the same parameters 
on to the hdfs executable:


"bin/hdfs namenode -format"

Started the namenode:
"bin/hdfs namenode"

But now all bin/hdfs dfs commands fail with:
"'.': No such file or directory"

And the hdfs web interface loads, but reports this error:
"java.io.IOException: Can't browse the DFS since there are no live nodes 
available to redirect to."


Seems like I haven't started a service, or misconfigured something... any ideas?





Thanks, Rodrigo.
From: arun sirimalla [mailto:[email protected]]
Sent: Thursday, October 31, 2013 4:36 PM
To: Pastrana, Rodrigo (RIS-BCT)
Cc: [email protected]
Subject: Apache Hadoop 2.2 install and setup help


Rodrigo,

You need to format Namenode before you start the daemons.

I see you have a dedicated user ( hduser), if your hadoop packages directory is 
owned by hduser. Switch to user hduser and run below command to format namenode.
 hadoop namenode -format
Let me know if you need any other info.
--Arun



-----------------------------------------
The information contained in this e-mail message is intended only
for the personal and confidential use of the recipient(s) named
above. This message may be an attorney-client communication and/or
work product and as such is privileged and confidential. If the
reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are
hereby notified that you have received this document in error and
that any review, dissemination, distribution, or copying of this
message is strictly prohibited. If you have received this
communication in error, please notify us immediately by e-mail, and
delete the original message.

Reply via email to