|
Installation is very simple, copy the downloaded Hadoop file to the appropriate directory, and then compressed to, the key is first to be installed JDK, pre-configured to Linux.
Now I put my record operating procedure is as follows, for your reference:
HadoopSrv01 log on to the machine, proceed as follows:
1: su - grid
2: tar -xvf hadoop-1.2.1-bin.tar.gz
3: After unpacking, will add a hadoop-1.2.1 directory under / home / grid directory
4: cd hadoop-1.2.1 Creating tmp directory mkdir tmp
5: cd conf directory of hadoop-env.sh, core-site.xml, hdfs-site.xml, mapred-site.xml, masters, slaves configuration file
6: Modify hadoop-env.sh file, only you need to set export JAVA_HOME = / usr / java / jdk1.8.0 to the other without modification.
7: Modify the core-site.xml file, add the following
|
|
|
|