In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how the nosuid parameter of the directory mount point caused the NodeManage startup failure exception. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Problem recurrence
Test environment:
1.RedHat7.4
2.CM and CDH version 5.16.1
3. Cluster has Kerberos enabled
In 5.16.1 cluster, failed to start NodeManager with the following error
The reason for this problem is that the mount parameter of the file system / var contains nosuid,nosuid to prevent the setuid bit of the executable from taking effect. As a result, the binary file container-executor, whose setuid bit is set to "root" permission, will not be able to access the container-executor.cfg configuration file with owner "root", resulting in the above error.
Problem solving
All data nodes re-mount the / var directory and remove the nosuid parameter
Cat / proc/mounts | grep var
Mount-o remount, rw / var
Modify the configuration file / etc/fatab to delete the nosuid on the / dev/mapper/VolGroup-var line
Summary
1. Starting from CDH5.16.1, when NodeManager is in initialize container executor, the file / var/lib/yarn-ce/etc/hadoop/container-executor.cfg will be read, and this file will be generated dynamically.
2. When the mount parameter of the file system where the configuration file / var/lib/yarn-ce/etc/hadoop/container executor.cfg resides contains nosuid, nosuid prevents the setuid bit of the executable file from taking effect. As a result, the container-executor binaries cannot access the container-executor.cfg configuration file with the owner "root", resulting in NodeManager startup failure.
Thank you for reading! This is the end of the article on "what is the exception of NodeManage startup failure caused by the nosuid parameters of the directory mount point". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
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.