In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
# # 1) Environment initializationNote:At least three nodes, the Master node at least 6G of memory And the other two at least 4G of memory |-| | Host | Server | Agent | zookeeper | namenode | secondarynamenode | datanode | |- -| | cdh01 Master | Y | |- -| | cdh02 slave | | Y | Y | | Y | Y | |- -| | cdh03 slave | | Y | Y | Y | | |-| | cdh04 slave | | Y | | | Y | Y |-|-| -- | cdh05 slave | | Y | | _ _ | # # Name resolution on every nodes## # # cat > / etc/hosts / etc/sysctl.confecho 'net.ipv6.conf.default.disable_ipv6 = 1' > > / etc/sysctl.confecho 'vm.swappiness = 0' > > / etc/sysctl.confsysctl-pecho never > / sys/kernel/mm/transparent_hugepage/defragecho 'echo never > / sys/kernel/mm/transparent_hugepage/defrag' > > / etc/rc.localchmod + x / etc/rc.d/rc.localgroupadd hadoop-g 700useradd hadoop-g hadoop-u 700echo "hadoop123" | passwd-- stdin hadoopecho 'hadoop ALL= (ALL) NOPASSWD: ALL' > > / etc/sudoersecho "ulimit-SHn 204800" > > / etc/rc.localecho "ulimit-SHu 204800" > > / etc/rc.localcat > > / etc/security/limits.conf / etc/nginx/nginx.conf
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.