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

CentOS6.3 detailed steps for installing Hadoop2.4.1

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly explains "the detailed steps of installing Hadoop2.4.1 in CentOS6.3". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn the detailed steps of installing Hadoop2.4.1 in CentOS6.3.

Modify the mapping relationship between hostname and IP

Vim / etc/hosts

192.168.1.168 cacgg168

Install java

Export JAVA_HOME=/usr/java/jdk1.6.0_45

Export JRE_HOME=/usr/java/jdk1.6.0_45/jre

Export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH

Export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$JAVA_HOME:$PATH

Install hadoop

Mkdir / cloud

# decompress to / cloud/ directory

Tar-zxvf hadoop-2.4.1.tar.gz-C / cloud/

Modify the configuration file

Hadoop-env.sh

Vim hadoop-env.sh

# Line 27

Export JAVA_HOME=/usr/java/jdk1.6.0_45

Core-site.xml

Fs.defaultFS

Hdfs://cacgg168:9000

Hadoop.tmp.dir

/ cloud/hadoop-2.4.1/tmp

Hdfs-site.xml

Dfs.replication

one

Mapred-site.xml (mv mapred-site.xml.template mapred-site.xml)

Mv mapred-site.xml.template mapred-site.xml

Mapreduce.framework.name

Yarn

Yarn-site.xml

Yarn.resourcemanager.hostname

Cacgg168

Yarn.nodemanager.aux-services

Mapreduce_shuffle

Export HADOOP_HOME=/cloud/hadoop-2.4.1

$HADOOP_HOME/bin:$HADOOP_HOME/sbin

At this point, I believe you have a deeper understanding of the "detailed steps for CentOS6.3 to install Hadoop2.4.1". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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: 215

*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

Servers

Wechat

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

12
Report