Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Hadoop installation


May 26, 2021 Hadoop


Table of contents


Hadoop installation

Unzip the Hadoop installation package (only at master)

Make sure that the network network is configured, use similar tools such as Xftp to upload hadoop-2.7.5.tar.gz to the /opt/hadoop directory. Once the upload is complete, execute the following code on the master host:

cd /opt/hadoop

After entering the /opt/hadoop directory, perform the decompression command:

tar -zxvf hadoop-2.7.5.tar.gz

After the carriage return the system starts to unzip, the screen will continue to scroll the decompression process, after successful execution, the system in the hadoop directory automatically create hadoop-2.7.5 subdirection.

Then modify the folder name to "hadoop", that is, the hadoop installation directory, to perform the modify folder name command:

mv hadoop-2.7.5 hadoop

Note: You can also use Xftp to see if the directory exists to ensure that it is done correctly.

Let's go into the installation directory and look at the installation files, and if we see a list of the files shown, the compression was successful.