Reputation: 1625
I am trying to install hadoop-2.2.0. I have used following command
sudo mkdir /usr/lib/hadoop
sudo cp hadoop-2.2.0.tar.gz /usr/lib/hadoop cd /usr/lib/hadoop
sudo tar xzvf hadoop-2.2.0.tar.gz
After this i have to change files in HADOOP. The first problem is there is no *"etc"* folder in "/usr/local/hadoop/". Second is that i found files like hdfs-site.xml, hdfs-site.xml etc in "config" folder inside hadoop. But "Yarn-site.xml" is not missing. Any suggestions?
Upvotes: 0
Views: 2657
Reputation: 799
You should set up your hadoop cluster correctly. Depends on the version of Hadoop you can find the configuration file under hadoop/etc/hadoop or under hadoop/conf.
Download hadoop 2.4. It's better follow this link to do so, it may help you setting up your cluster.
$ cd ~
$ wget https://archive.apache.org/dist/hadoop/core/hadoop-2.4.0/hadoop2.4.0.tar.gz
$ tar xzf hadoop-2.4.0.tar.gz
$ mv hadoop-2.4.0 hadoop
Upvotes: 1