Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Deploy Hadoop2.7.4 under windows

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

I. Environment

Windows 7 64bit

Jdk 1.8

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

II. Steps

1) download and install jdk,. Remember to set the JAVA_HOME system environment variables.

2) download and extract the hadoop-2.7.4.tar.gz package; I unzipped it under d:\ to create the HADOOP_HOME environment variable

3) download the link library under window, including hadoop.dll and winutils

4) go to the hadoop root directory, create a new one if there is no data folder, and then create two folders, datanode and namenode, under data

5) the configuration is almost complete. If you want to change the access path, you can modify it in the core-site.xml file under the etc/hadoop directory:

Fs.defaultFS

Hdfs://localhost:9000

6) Click the command prompt (administrator) to run the command prompt and change to the hadoop installation directory. Do the following

1. Change to the etc/hadoop directory and run hadoop-env.cmd

2. Change to the bin directory and format the HDFS file system, and execute the command: hdfs namenode-format

3. At this point, your hadoop can be used normally. You can check the version. The bin directory executes hadoop version.

4. Start cd to hadoop's sbin directory and run start-all.cmd

5. Enter http:\\ localhost:8088 in the browser to open the web management web page of hadoop.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report