Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Re: Hadoop command not found:hdfs and yarn

Copy link to this message
Re: Hadoop command not found:hdfs and yarn
Hello ,

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.


Jagat Singh

On Fri, Jun 8, 2012 at 2:56 PM, Prajakta Kalmegh <[EMAIL PROTECTED]>wrote:

> Hi
> 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_PREFIX in my path (apart from java etc).
> I am following the instructions for setting up Hadoop with Eclipse given
> in
> - http://wiki.apache.org/hadoop/HowToSetupYourDevelopmentEnvironment
> -
> http://hadoop.apache.org/common/docs/r2.0.0-alpha/hadoop-yarn/hadoop-yarn-site/SingleCluster.html
> Regards,
> Prajakta