In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to configure and start hdfs and yarn. It is very detailed and has a certain reference value. Friends who are interested must read it!
Profile modification
The configuration file is under the $HADOOP_HOME/etc/hadoop/ directory. Hdfs and yarn need to be configured a total of five files:
1st: hadoop-env.sh export JAVA_HOME=/usr/java/jdk1.7.0_65 2nd: core-site.xml: fs.defaultFS hdfs://master:9000 hadoop.tmp.dir / home/hadoop/data/hadoop 3rd: hdfs-site.xml Hdfs-default.xml dfs.replication 1 4th: mapred-site.xml mv mapred-site.xml.template mapred-site.xml vim mapred-site.xml mapreduce.framework.name yarn 5th: yarn-site .xml yarn.resourcemanager.hostname master yarn.nodemanager.aux-services mapreduce_shuffle sixth: slaves file This file is used to indicate the machines on which the datanode process slave01slave02slave03 formats namenode is started
Hdfs namenode-format
Start hdfs
$HADOOP_HOME/sbin/start-dfs.sh
Start yarn
$HADOOP_HOME/sbin/start-yarn.sh
These are all the contents of the article "how to configure and start hdfs and yarn". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.