Deploy Hadoop2.7.4 under Windows

Source: Internet
Author: User
Tags gz file

First, the environment

Windows 7 64bit

JDK 1.8

Hadoop 2.7.4 : http://hadoop.apache.org/releases.html

Second, step

    1) Download and install the JDK, and remember to set the JAVA_HOME system environment variable

    2) download and unzip the hadoop-2.7.4.tar.gz file package ; I unzipped under D:\, create hadoop_home environment variable

    3) Download the link library under window, containing the Hadoop.dll and winutils

    4) to the Hadoop root directory, if there is no Data folder to create a new, and then under data created Datanode, namenode two folders   

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/A6/5E/wKioL1nNoXvxTNgJAAAbjh-cq8M437.png-wh_500x0-wm_ 3-wmp_4-s_1353320162.png "title=" qq picture 20170929092647.png "alt=" Wkiol1nnoxvxtngjaaabjh-cq8m437.png-wh_50 "/>

5) configuration Basic has been completed, if you want to change access to the path, you can go to the Etc/hadoop directory under the core-site.xml file modification:

<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://localhost:9000</value>
</property>
</configuration>

6) Click Command Prompt (Administrator) to run the command prompt and switch to the Hadoop installation directory. Do the following

1, switch to Etc/hadoop directory, run Hadoop-env.cmd

2. Switch to the bin directory then, format the HDFs file system, execute the command: HDFs Namenode-format

3 and here, your Hadoop will work. You can view the version of Hadoop versions

4. start CD to sbin directory of Hadoop and run Start-all.cmd

5 . Enter http:\\localhost:8088 in the browser to open the Web Management Web page for Hadoop.


This article is from "Dormant" blog, please make sure to keep this source http://lihao001.blog.51cto.com/872112/1969616

Deploy Hadoop2.7.4 under Windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.