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

How to modify the configuration file of hadoop

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

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "how to modify the configuration file of hadoop". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to modify the configuration file of hadoop".

Copy the downloaded "hadoop-2.2.0.tar.gz" to the "/ usr/local/hadoop/" directory and extract it:

Modify the system configuration file, modify the ~ / .bashrc file configuration "HADOOP_HOME" and add the bin folder under "HADOOP_HOME" to PATH. After modification, use the source command to make the configuration effective.

Next, create a folder under the hadoop directory as follows:

Next, to modify the hadoop configuration file, first enter the Hadoop 2.2.0 configuration file area:

The first step is to modify the configuration file hadoop-env.sh by adding "JAVA_HOME" to it, as follows:

Specify the "JAVA_HOME" we installed:

The second step is to modify the configuration file yarn-env.sh by adding "JAVA_HOME" to it, as follows:

Specify the "JAVA_HOME" we installed:

The third step is to modify the configuration file mapred-env.sh by adding "JAVA_HOME" to it, as follows:

Specify the "JAVA_HOME" we installed:

Thank you for your reading, the above is the content of "how to modify the configuration file of hadoop", after the study of this article, I believe you have a deeper understanding of how to modify the configuration file of hadoop, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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

Servers

Wechat

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

12
Report