-Re: Hadoop command not found:hdfs and yarn
Jagat Singh 2012-06-08, 10:19
Can you quickly review your hadoop install with below page may be you get
some hints to install.
The depreciated warning is correct as hadoop jobs have been divided now.
On Fri, Jun 8, 2012 at 2:56 PM, Prajakta Kalmegh <[EMAIL PROTECTED]>wrote:
> I am trying to execute the following commands for setting up Hadoop:
> # Format the namenode
> hdfs namenode -format
> # Start the namenode
> hdfs namenode
> # Start a datanode
> hdfs datanode
> yarn resourcemanager
> yarn nodemanager
> It gives me a "Hadoop Command not found." error for all the commands. When
> I try to use "hadoop namenode -format" instead, it gives me a deprecated
> command warning. Can someone please tell me if I am missing including any
> env variables? I have included HADOOP_COMMON_HOME, HADOOP_HDFS_HOME,
> HADOOP_MAPRED_HOME, YARN_HOME, HADOOP_CONF_DIR, YARN_CONF_DIR,
> HADOOP_PREFIX in my path (apart from java etc).
> I am following the instructions for setting up Hadoop with Eclipse given
> - http://wiki.apache.org/hadoop/HowToSetupYourDevelopmentEnvironment